]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: use curl -L for npcap: follow redirects 6883/head
authorJason Ish <jason.ish@oisf.net>
Fri, 21 Jan 2022 05:21:08 +0000 (23:21 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 28 Jan 2022 10:48:45 +0000 (11:48 +0100)
(cherry picked from commit 90996958aa32ef3ff789c28b6efcb8ded2cef342)

.github/workflows/builds.yml

index b631864a0ae2d4b5db6001ed4d307974dab2e093..1a04944cbaec0e36c91cac4569045309f13babda 100644 (file)
@@ -1140,13 +1140,13 @@ jobs:
       - run: tar xf prep/suricata-update.tar.gz
       - name: Npcap DLL
         run: |
-          curl -s -O https://nmap.org/npcap/dist/npcap-1.00.exe
+          curl -sL -O https://nmap.org/npcap/dist/npcap-1.00.exe
           7z -y x -o/npcap-bin npcap-1.00.exe
           # hack: place dlls in cwd
           cp /npcap-bin/*.dll .
       - name: Npcap SDK
         run: |
-          curl -s -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip
+          curl -sL -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip
           unzip npcap-sdk-1.06.zip -d /npcap
           cp /npcap/Lib/x64/* /usr/lib/
       - run: tar xf prep/suricata-verify.tar.gz