From 802489fd35f7a796b6b5b7a1faa567b2f425b802 Mon Sep 17 00:00:00 2001 From: DecorativeFamily <185765765+decorativefamily@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:56:19 +0330 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bf8bafa..de2f481f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,14 +18,25 @@ jobs: - name: Checkout 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 run: | 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 - name: Build v2rayN.Desktop run: | 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 # Optional cleanup of .pdb files if needed