From ec6e41197f0a5f42b3fe2a80a787616773e69bb4 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer Date: Mon, 17 Jul 2023 11:47:51 +0200 Subject: [PATCH] Upload artifacts; don't use a specific image hash; fix yamllint false-positive --- .gitea/workflows/build-sporq.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-sporq.yaml b/.gitea/workflows/build-sporq.yaml index 81793482d3..e4fb379bc5 100644 --- a/.gitea/workflows/build-sporq.yaml +++ b/.gitea/workflows/build-sporq.yaml @@ -1,12 +1,12 @@ -on: [push, pull_request, workflow_dispatch] name: Build +on: [push, pull_request, workflow_dispatch] # yamllint disable-line rule:truthy jobs: build-sporq: runs-on: ubuntu-latest container: - image: ghcr.io/qmk/qmk_base_container:latest@sha256:d27f995fd142681b273d95dc150d3a3683b6b1884b4c46f70c00a1a991d0e11e + image: ghcr.io/qmk/qmk_base_container:latest steps: - name: Install Dependencies run: | @@ -20,3 +20,15 @@ jobs: - name: Build sporq keymap for splitkb/aurora/corne/rev1 run: qmk compile -kb splitkb/aurora/corne/rev1 -km sporq + + - name: 'Upload artifacts' + uses: actions/upload-artifact@v3 + if: always() + with: + name: artifacts-${{ github.event.inputs.branch || github.ref_name }}-${{ matrix.keymap }} + if-no-files-found: ignore + path: | + *.bin + *.hex + *.uf2 + .build/failed.*