Update build.yml

This commit is contained in:
DecorativeFamily 2024-11-14 12:21:07 +03:30 committed by GitHub
parent 3ab3db670a
commit d293e6bb45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,12 +20,14 @@ jobs:
- name: Build v2rayN
run: |
cd v2rayN
cd v2rayN &&
.\build.ps1
dotnet publish v2rayN.csproj -c Release -r win-x64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -o ./bin/win-x64
- name: Build v2rayN.Desktop
run: |
cd v2rayN.Desktop
cd v2rayN Desktop &&
.\build.ps1
dotnet publish v2rayN.Desktop.csproj -c Release -r linux-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o ./bin/linux-x64
# Optional cleanup of .pdb files if needed