Condense Build

This commit is contained in:
Drashna Jael're
2021-12-07 15:28:12 -08:00
parent 1a3eed9b2c
commit 053f48d2cf

View File

@@ -23,54 +23,8 @@ jobs:
- planck/ez/glow
keymap:
- default
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
persist-credentials: false
submodules: true
- name: Build
id: build
run: |
TARGET="${{ matrix.keyboard }}"
if [ -n "${{ matrix.keymap }}" ]; then
TARGET="${TARGET}:${{ matrix.keymap }}"
fi
sed -i 's/run --rm -it/run --rm/' util/docker_build.sh
util/docker_build.sh ${TARGET}
ls
echo ::set-output name=artifact-name::${TARGET//[:<>|*?\\\/]/_}
echo "Artifact-name: ${{ steps.build.outputs.artifact-name }}"
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: "${{ steps.build.outputs.artifact-name }}"
path: |
*.hex
*.bin
continue-on-error: true
build-oryx:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
keyboard:
- ergodox_ez
- ergodox_ez/shine
- ergodox_ez/glow
- moonlander
- planck/ez
- planck/ez/glow
keymap:
- oryx
steps:
- uses: actions/checkout@v2
with: