Condense Build
This commit is contained in:
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user