github-ci: use curl -L for npcap: follow redirects

pull/6836/head
Jason Ish 4 years ago committed by Victor Julien
parent ce9efc34c7
commit 7b44485b3b

@ -1483,13 +1483,13 @@ jobs:
- run: tar xf prep/suricata-update.tar.gz - run: tar xf prep/suricata-update.tar.gz
- name: Npcap DLL - name: Npcap DLL
run: | 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 7z -y x -o/npcap-bin npcap-1.00.exe
# hack: place dlls in cwd # hack: place dlls in cwd
cp /npcap-bin/*.dll . cp /npcap-bin/*.dll .
- name: Npcap SDK - name: Npcap SDK
run: | 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 unzip npcap-sdk-1.06.zip -d /npcap
cp /npcap/Lib/x64/* /usr/lib/ cp /npcap/Lib/x64/* /usr/lib/
- run: tar xf prep/suricata-verify.tar.gz - run: tar xf prep/suricata-verify.tar.gz

Loading…
Cancel
Save