From 5f20b66156629d40d5bd7c0ccfd06d97e6bb91d6 Mon Sep 17 00:00:00 2001 From: DecorativeFamily <185765765+decorativefamily@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:37:33 +0330 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96d257a6..33b0b310 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,20 +18,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - # - name: 删除工作流运行 - # uses: Mattraks/delete-workflow-runs@v2 - # with: - # token: ${{ github.token }} - # repository: ${{ github.repository }} - # retain_days: 0 - # keep_minimum_runs: 1 - - name: Build - run: cd v2rayN && - .\build.cs + run: | + cd v2rayN && dotnet build build.csproj --configuration Release + # Uncomment if packaging is needed # - name: Package - # shell: pwsh # run: | # 7z a -mx9 ..\v2rayN.7z $env:Wap_Project_Directory @@ -41,7 +33,8 @@ jobs: name: v2rayN path: | .\v2rayN\v2rayN.zip - + + # Uncomment if release is needed # - name: Release # uses: softprops/action-gh-release@v1 # env: