From 7522130bb8d82b36f1a9f2560a6c0b9fba8f9ec0 Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Thu, 27 Jun 2024 20:33:15 -0700 Subject: [PATCH] fix upload actions --- .github/workflows/cmake.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1fe4d1f..205871f 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -75,5 +75,15 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v4 with: - name: fanpico-firmware-${{github.run_number}}-${{github.sha}} + name: firmware-${{matrix.runs-on}}-${{github.run_number}}-${{github.sha}} path: main/build/dist + + merge: + runs-on: ubuntu-latest + needs: build + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: fanpico-firmware-${{github.run_number}}-${{github.sha}} + pattern: firmware-*