From eec9a499e6cf603817c38d5cb575380675edd885 Mon Sep 17 00:00:00 2001 From: DecorativeFamily <185765765+decorativefamily@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:45:39 +0330 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cb05acf..6f9dd610 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,46 +8,22 @@ on: jobs: build: - strategy: - matrix: - configuration: [Release] - runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Build - run: cd v2rayN && dotnet publish v2rayN.csproj -c Release -o ./bin + - name: Build v2rayN + run: | + cd v2rayN + dotnet publish v2rayN.csproj -c Release -o ./bin - name: List Output Files run: dir .\v2rayN\bin - - name: Create Zip Archive - run: | - 7z a v2rayN.zip .\v2rayN\bin\* - - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: v2rayN - path: v2rayN.zip - - # Uncomment if release is needed - # - name: Release - # uses: softprops/action-gh-release@v1 - # env: - # GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - # with: - # prerelease: ${{ contains(github.ref, '-') }} - # draft: false - # files: | - # v2rayN.zip - # body: | - # [![](https://img.shields.io/badge/Telegram-Channel-blue)](https://t.me/netch_channel) [![](https://img.shields.io/badge/Telegram-Group-green)](https://t.me/netch_group) - # ## Changelogs - # * This is an automated deployment of GitHub Actions, the change log should be updated manually soon - - # ## 更新日志 - # * 这是 GitHub Actions 自动化部署,更新日志应该很快会手动更新 + path: .\v2rayN\bin\*