mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-18 15:15:22 +00:00
Publish script for wintun.dll
This commit is contained in:
parent
4f5c4f5240
commit
be0652ce4c
1 changed files with 3 additions and 3 deletions
6
.github/workflows/publish-exe.yml
vendored
6
.github/workflows/publish-exe.yml
vendored
|
@ -63,11 +63,11 @@ jobs:
|
||||||
cargo build --all-features --release --target ${{ matrix.target }}
|
cargo build --all-features --release --target ${{ matrix.target }}
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then
|
if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then
|
||||||
powershell Compress-Archive -Path target/${{ matrix.target }}/release/tun2proxy.exe -DestinationPath publishdir/tun2proxy-${{ matrix.target }}.zip
|
powershell Compress-Archive -Path target/${{ matrix.target }}/release/tun2proxy.exe, README.md, target/${{ matrix.target }}/release/wintun.dll -DestinationPath publishdir/tun2proxy-${{ matrix.target }}.zip
|
||||||
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
|
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
|
||||||
zip -j publishdir/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy
|
zip -j publishdir/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md
|
||||||
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
|
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
|
||||||
zip -j publishdir/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy
|
zip -j publishdir/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue