We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a57858 commit 3663a4cCopy full SHA for 3663a4c
1 file changed
.github/workflows/build.yml
@@ -37,16 +37,15 @@ jobs:
37
Expand-Archive -Path "npcap-sdk.zip" -DestinationPath "npcap-sdk"
38
echo "LIB=$env:GITHUB_WORKSPACE\npcap-sdk\Lib\x64;$env:LIB" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
39
40
- - name: Install WinPcap for test execution (Windows)
+ - name: Install Npcap for test execution (Windows)
41
if: matrix.os == 'windows-latest'
42
- run: |
43
- Invoke-WebRequest -Uri "https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe" -OutFile "winpcap.exe"
44
- Start-Process -FilePath ".\winpcap.exe" -ArgumentList "/S" -NoNewWindow -Wait
+ run: choco install npcap -y
45
46
- name: Run Tests
47
run: cargo test --workspace
48
49
- name: Build Release Binary
+ if: github.event_name == 'release'
50
run: cargo build --release
51
52
0 commit comments