Skip to content

Commit

Permalink
actions: redistribute wintun.dll
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Pashmfouroush <[email protected]>
  • Loading branch information
markpash committed May 28, 2024
1 parent 1aaa463 commit e930bb8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ jobs:
cp ${GITHUB_WORKSPACE}/README.md ./warp-plus_${{ env.ASSET_NAME }}/README.md
cp ${GITHUB_WORKSPACE}/LICENSE ./warp-plus_${{ env.ASSET_NAME }}/LICENSE
- name: Redistribute wintun.dll
if: matrix.goos == 'windows'
run: |
curl -LO https://www.wintun.net/builds/wintun-0.14.1.zip
echo "07c256185d6ee3652e09fa55c0b673e2624b565e02c4b9091c79ca7d2f24ef51 wintun-0.14.1.zip" | sha256sum --check --status
ls -lah
unzip ./wintun-0.14.1.zip -d wintun
if [ "$GOARCH" = "amd64" ]; then
mv wintun/wintun/bin/amd64/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
elif [ "$GOARCH" = "arm64" ]; then
mv wintun/wintun/bin/arm64/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
elif [ "$GOARCH" = "386" ]; then
mv wintun/wintun/bin/x86/wintun.dll ./warp-plus_${{ env.ASSET_NAME }}/
fi
- name: Create ZIP archive
shell: bash
run: |
Expand Down

0 comments on commit e930bb8

Please sign in to comment.