]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
test win artifact generation on pushing to release
authorYann Collet <cyan@fb.com>
Fri, 28 Feb 2025 17:42:50 +0000 (09:42 -0800)
committerYann Collet <cyan@fb.com>
Fri, 28 Feb 2025 17:42:50 +0000 (09:42 -0800)
this will get a chance to check that win artifact generation works correctly
before creating the release tag.

.github/workflows/windows-artifacts.yml

index 3353895934529c611cf19750ac9c0d9c7860ba24..0795524141dd561fd22c9f78f1b9d23a6a71107a 100644 (file)
@@ -2,7 +2,7 @@ name: windows-artifacts
 
 on:
   push:
-    branches: [ test_artifacts, win_artifacts ]
+    branches: [ test_artifacts, win_artifacts, release ]
   release:
     types:
       - published
@@ -53,5 +53,6 @@ jobs:
       uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # tag=v4.3.1
       with:
         compression-level: 9  # maximum compression
+        if-no-files-found: error # defaults to `warn`
         path: ${{ github.workspace }}/zstd-${{ github.ref_name }}-${{matrix.ziparch}}/
         name: zstd-${{ github.ref_name }}-${{matrix.ziparch}}