]> wimlib.net Git - wimlib/commitdiff
ci.yml: upload Windows binaries when done
authorEric Biggers <ebiggers3@gmail.com>
Fri, 31 Mar 2023 07:15:02 +0000 (00:15 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 31 Mar 2023 07:15:02 +0000 (00:15 -0700)
.github/workflows/ci.yml

index efb46be9c27b09750fe286590624e50665da7c3a..28e5ef48baf1c071b32dc45d10ee0e8c87033ec0 100644 (file)
@@ -137,6 +137,8 @@ jobs:
         shell: msys2 {0}
     steps:
     - uses: actions/checkout@v3
+      with:
+        fetch-depth: 0  # Need tags for tools/get-version-number
     - uses: msys2/setup-msys2@v2
       with:
         msystem: ${{matrix.msystem}}
@@ -150,6 +152,10 @@ jobs:
           ${{matrix.cc_pkg}}
           pkgconf
     - run: CFLAGS="$DEF_CFLAGS" ./tools/make-windows-release ${{matrix.options}}
+    - uses: actions/upload-artifact@v3
+      with:
+        name: windows-${{matrix.msystem}}-bin
+        path: wimlib-*-bin
 
   fuzz-with-libFuzzer:
     name: Fuzz with libFuzzer (${{matrix.target}} ${{matrix.sanitizer}})