From 4e1663979401c5809a6754bdc054a10229c052e2 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Mon, 26 Aug 2024 02:22:51 +0200 Subject: [PATCH] Zip atrifacts before release upload --- .github/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index de28675d..6a6bf8a1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -102,13 +102,16 @@ jobs: with: name: ${{ matrix.environment.out }} path: build_output/firmware/*.*n + ## Release only: + - name: Zip artifact for deployment + run: zip ${{ matrix.environment.out }}.zip "build_output/firmware/*.bin" -r - name: On Release, upload assets to that Release uses: AButler/upload-release-assets@v3.0 with: - files: "build_output/firmware/*.bin" + files: ${{ matrix.environment.out }}.zip repo-token: ${{ secrets.GITHUB_TOKEN }} - + linux_build: runs-on: ubuntu-latest steps: