]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/curl-for-win: upload snapshot Windows curl tool binary
authorViktor Szakats <commit@vsz.me>
Wed, 1 Jul 2026 08:38:29 +0000 (10:38 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 1 Jul 2026 10:12:37 +0000 (12:12 +0200)
These are generated for every PR and master pushes. Retain for 3 days.
Size is 1.8MB zipped per artifact. (Takes 1 second extra job time.)

Ref: #22162
Ref: https://github.com/curl/curl-for-win/commit/1b0e3569b393c31572a5895ed65ae6f60a8cba55?w=1

Closes #22234

.github/workflows/curl-for-win.yml

index f2048052c7e79bc5b8f7cbbd84a6a226ce2352fa..68efd53a385f7c677728db7a7b4991ee00056eed 100644 (file)
@@ -148,6 +148,9 @@ jobs:
     name: 'Windows llvm (x64)'
     runs-on: ubuntu-26.04
     timeout-minutes: 10
+    env:
+      CW_PKG_NODELETE: '1'
+      CW_PKG_FLATTEN: '1'
     steps:
       - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
         with:
@@ -171,6 +174,12 @@ jobs:
             "${OCI_IMAGE_DEBIAN}" \
             sh -c ./_ci-linux-debian.sh
 
+      - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+        with:
+          name: 'curl-windows-snapshot-tool'
+          retention-days: 3
+          path: curl-*-*-*/curl*
+
   win-gcc-zlibold-x64:
     name: 'Windows gcc zlib-classic (x64)'
     runs-on: ubuntu-26.04