]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: use curl -L for npcap: follow redirects 6836/head 6844/head
authorJason Ish <jason.ish@oisf.net>
Fri, 21 Jan 2022 05:21:08 +0000 (23:21 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 21 Jan 2022 18:58:24 +0000 (19:58 +0100)
.github/workflows/builds.yml

index 0ca5ef8b4d1b127f5c6f13fef9b08f65e36dc6e0..0de51baf0c256cda0e31d2d9abaa470ec9687e83 100644 (file)
@@ -1483,13 +1483,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