mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-30 14:56:19 +00:00
Update build.yml
This commit is contained in:
parent
44c86e7776
commit
802489fd35
1 changed files with 11 additions and 0 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -18,14 +18,25 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Uncomment to delete previous workflow runs if needed
|
||||||
|
# - name: Delete Workflow Runs
|
||||||
|
# uses: Mattraks/delete-workflow-runs@v2
|
||||||
|
# with:
|
||||||
|
# token: ${{ github.token }}
|
||||||
|
# repository: ${{ github.repository }}
|
||||||
|
# retain_days: 0
|
||||||
|
# keep_minimum_runs: 1
|
||||||
|
|
||||||
- name: Build v2rayN
|
- name: Build v2rayN
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN
|
cd v2rayN
|
||||||
|
.build.cs
|
||||||
dotnet publish v2rayN.csproj -c Release -r win-x64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -o ./bin/win-x64
|
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
|
- name: Build v2rayN.Desktop
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN.Desktop
|
cd v2rayN.Desktop
|
||||||
|
.build.cs
|
||||||
dotnet publish v2rayN.Desktop.csproj -c Release -r linux-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o ./bin/linux-x64
|
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
|
# Optional cleanup of .pdb files if needed
|
||||||
|
|
Loading…
Reference in a new issue