Update build.yml

This commit is contained in:
DecorativeFamily 2024-11-14 11:37:33 +03:30 committed by GitHub
parent a5c9f134ad
commit 5f20b66156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,20 +18,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 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 - name: Build
run: cd v2rayN && run: |
.\build.cs cd v2rayN && dotnet build build.csproj --configuration Release
# Uncomment if packaging is needed
# - name: Package # - name: Package
# shell: pwsh
# run: | # run: |
# 7z a -mx9 ..\v2rayN.7z $env:Wap_Project_Directory # 7z a -mx9 ..\v2rayN.7z $env:Wap_Project_Directory
@ -42,6 +34,7 @@ jobs:
path: | path: |
.\v2rayN\v2rayN.zip .\v2rayN\v2rayN.zip
# Uncomment if release is needed
# - name: Release # - name: Release
# uses: softprops/action-gh-release@v1 # uses: softprops/action-gh-release@v1
# env: # env: