From 0ed00d9d30e8c984936ff9ed9a4fcd475d6d82e5 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 27 May 2025 18:01:31 +0200 Subject: [PATCH] ci : update windows-blas uploads action (#3192) This commit modifies windows-blas which was updated previously to use the zip functionality provided by `actions/upload-artifact`. This turned out to be incorrect and I should not have done that. The reason for zipping the archives first is that otherwise the artifacts when downloaded will be unzipped and just be simple directories. In our case the release task depends on the artifacts having a .zip extension so that those archives are include in the release. --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cf11279..421ed4b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -692,6 +692,11 @@ jobs: if: matrix.sdl2 == 'ON' run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }} + - name: Pack bin artifacts + shell: pwsh + run: | + Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-blas-bin-${{ matrix.arch }}.zip" + - name: Upload binaries if: matrix.blas == 'ON' && matrix.sdl2 == 'ON' && ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event.inputs.create_release == 'true' || @@ -699,7 +704,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: whisper-blas-bin-${{ matrix.arch }}.zip - path: "build/bin/${{ matrix.build }}/**" + path: whisper-blas-bin-${{ matrix.arch }}.zip windows-cublas: if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' ||