]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: do one Windows build from dist archive
authorJason Ish <jason.ish@oisf.net>
Thu, 4 May 2023 17:40:13 +0000 (11:40 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 27 Feb 2025 05:57:45 +0000 (06:57 +0100)
As we have 2 Windows builds, do one using the release-style
distribution file.

.github/workflows/builds.yml

index 5a4f27b2c89753cbda0b06132548dc56c3e4ec29..a3fe9dbc95bb8e0e6b0afa309c343031697e6999 100644 (file)
@@ -3169,7 +3169,7 @@ jobs:
   windows-msys2-mingw64-libpcap:
     name: Windows MSYS2 MINGW64 (libpcap)
     runs-on: windows-latest
-    needs: [prepare-deps]
+    needs: [prepare-deps, ubuntu-22-04-dist]
     defaults:
       run:
         shell: msys2 {0}
@@ -3194,8 +3194,11 @@ jobs:
         with:
           name: prep
           path: prep
-      - run: tar xf prep/libhtp.tar.gz
-      - run: tar xf prep/suricata-update.tar.gz
+      - name: Download suricata.tar.gz
+        uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
+        with:
+          name: dist
+      - run: tar xvf suricata-*.tar.gz --strip-components=1
       - run: tar xf prep/suricata-verify.tar.gz
       - name: Build
         run: |