Skip to content

Commit

Permalink
github-ci: use curl -L for npcap: follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish authored and victorjulien committed Jan 21, 2022
1 parent ce9efc3 commit 7b44485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b44485

Please sign in to comment.