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
167f1439f3
commit
7592c4cf45
1 changed files with 23 additions and 17 deletions
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
|
@ -2,9 +2,9 @@ name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: ["master"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Uncomment the following step if you want to delete old workflow runs
|
# Uncomment to delete previous workflow runs
|
||||||
# - name: Delete Workflow Runs
|
# - name: Delete Workflow Runs
|
||||||
# uses: Mattraks/delete-workflow-runs@v2
|
# uses: Mattraks/delete-workflow-runs@v2
|
||||||
# with:
|
# with:
|
||||||
|
@ -27,31 +27,37 @@ jobs:
|
||||||
# retain_days: 0
|
# retain_days: 0
|
||||||
# keep_minimum_runs: 1
|
# keep_minimum_runs: 1
|
||||||
|
|
||||||
- name: Build v2rayN
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN && .\build.ps1
|
cd v2rayN && .\build.ps1
|
||||||
|
|
||||||
# Upload the zip file as an artifact
|
# Uncomment to package the build artifacts
|
||||||
|
# - name: Package
|
||||||
|
# shell: pwsh
|
||||||
|
# run: |
|
||||||
|
# 7z a -mx9 ..\v2rayN.7z $env:Wap_Project_Directory
|
||||||
|
|
||||||
- name: Upload Build Artifacts
|
- name: Upload Build Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: v2rayN
|
name: v2rayN
|
||||||
path: v2rayN.zip
|
path: .\v2rayN\v2rayN.zip
|
||||||
|
|
||||||
# Uncomment to create a release on GitHub after building
|
# Uncomment to create a release on GitHub
|
||||||
# - name: Create Release
|
# - name: Release
|
||||||
# uses: softprops/action-gh-release@v1
|
# uses: softprops/action-gh-release@v1
|
||||||
# env:
|
# env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
# with:
|
# with:
|
||||||
# prerelease: ${{ contains(github.ref, '-') }}
|
# prerelease: ${{ contains(github.ref, '-') }}
|
||||||
# draft: false
|
# draft: false
|
||||||
# files: |
|
# files: .\v2rayN\v2rayN.zip
|
||||||
# v2rayN.zip
|
|
||||||
# body: |
|
# body: |
|
||||||
# [](https://t.me/netch_channel) [](https://t.me/netch_group)
|
# [](https://t.me/netch_channel)
|
||||||
# ## Changelogs
|
# [](https://t.me/netch_group)
|
||||||
# * This is an automated deployment of GitHub Actions; the change log should be updated manually soon.
|
#
|
||||||
|
# ## Changelogs
|
||||||
# ## 更新日志
|
# * This is an automated deployment of GitHub Actions; the changelog should be updated manually soon.
|
||||||
# * 这是 GitHub Actions 自动化部署,更新日志应该很快会手动更新。
|
#
|
||||||
|
# ## 更新日志
|
||||||
|
# * 这是 GitHub Actions 自动化部署,更新日志应该很快会手动更新。
|
||||||
|
|
Loading…
Reference in a new issue