Browse Source

script issues

pull/105/head
ssrlive 2 years ago
parent
commit
989406d00c
  1. 8
      .github/workflows/publish-exe.yml

8
.github/workflows/publish-exe.yml

@ -69,9 +69,11 @@ jobs:
powershell Compress-Archive -Path target/${{ matrix.target }}/release/tun2proxy.exe, README.md, target/tun2proxy-ffi.h, target/${{ matrix.target }}/release/tun2proxy.dll, target/${{ matrix.target }}/release/wintun.dll -DestinationPath mypubdir4/tun2proxy-${{ matrix.target }}.zip
elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.dylib
./build-apple.sh
mv ./target/Tun2Proxy.xcframework .
zip -r mypubdir4/tun2proxy-${{ matrix.target }}.zip ./Tun2Proxy.xcframework/
if [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then
./build-apple.sh
mv ./target/Tun2Proxy.xcframework .
zip -r mypubdir4/tun2proxy-apple-xcframework.zip ./Tun2Proxy.xcframework/
fi
elif [[ "${{ matrix.host_os }}" == "ubuntu-latest" ]]; then
zip -j mypubdir4/tun2proxy-${{ matrix.target }}.zip target/${{ matrix.target }}/release/tun2proxy README.md target/tun2proxy-ffi.h target/${{ matrix.target }}/release/libtun2proxy.so
fi

Loading…
Cancel
Save