We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 872c7a2 commit dab58d1Copy full SHA for dab58d1
.github/workflows/ci.yaml
@@ -55,10 +55,11 @@ jobs:
55
if: matrix.os == 'windows-latest'
56
env:
57
NPCAP_OEM_URL: ${{ secrets.NPCAP_OEM_URL }}
58
- shell: bash
59
run: |
60
- curl -Lf "$NPCAP_OEM_URL" -o "$TEMP/npcap-oem.exe"
61
- "$TEMP/npcap-oem.exe" /S
+ Invoke-WebRequest -Uri "$env:NPCAP_OEM_URL" -OutFile "$env:TEMP/npcap-oem.exe"
+ # for this ridiculous `&` syntax alone, I'd rather use COBOL than Powershell
+ # see https://stackoverflow.com/a/1674950/5637701
62
+ & "$env:TEMP/npcap-oem.exe" /S
63
64
- name: Run tests
65
run: cargo test --verbose
0 commit comments