mirror of https://github.com/2dust/v2rayN
Update build.yml
parent
57f9c8158e
commit
cd197133e5
|
@ -1,10 +1,10 @@
|
||||||
name: release
|
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,8 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: 删除工作流运行
|
# Uncomment to delete previous workflow runs
|
||||||
|
# - name: Delete Workflow Runs
|
||||||
# uses: Mattraks/delete-workflow-runs@v2
|
# uses: Mattraks/delete-workflow-runs@v2
|
||||||
# with:
|
# with:
|
||||||
# token: ${{ github.token }}
|
# token: ${{ github.token }}
|
||||||
|
@ -27,21 +28,22 @@ jobs:
|
||||||
# keep_minimum_runs: 1
|
# keep_minimum_runs: 1
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd v2rayN &&
|
run: |
|
||||||
.\build.ps1
|
cd v2rayN && .\build.ps1
|
||||||
|
|
||||||
|
# Uncomment to package the build artifacts
|
||||||
# - name: Package
|
# - name: Package
|
||||||
# shell: pwsh
|
# shell: pwsh
|
||||||
# run: |
|
# run: |
|
||||||
# 7z a -mx9 ..\v2rayN.7z $env:Wap_Project_Directory
|
# 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: |
|
path: .\v2rayN\v2rayN.zip
|
||||||
.\v2rayN\v2rayN.zip
|
|
||||||
|
|
||||||
|
# Uncomment to create a release on GitHub
|
||||||
# - name: Release
|
# - name: Release
|
||||||
# uses: softprops/action-gh-release@v1
|
# uses: softprops/action-gh-release@v1
|
||||||
# env:
|
# env:
|
||||||
|
@ -49,12 +51,13 @@ jobs:
|
||||||
# with:
|
# with:
|
||||||
# prerelease: ${{ contains(github.ref, '-') }}
|
# prerelease: ${{ contains(github.ref, '-') }}
|
||||||
# draft: false
|
# draft: false
|
||||||
# files: |
|
# files: .\v2rayN\v2rayN.zip
|
||||||
# .\v2rayN\v2rayN.zip
|
|
||||||
# body: |
|
# body: |
|
||||||
# [](https://t.me/netch_channel) [](https://t.me/netch_group)
|
# [](https://t.me/netch_channel)
|
||||||
|
# [](https://t.me/netch_group)
|
||||||
|
#
|
||||||
# ## Changelogs
|
# ## Changelogs
|
||||||
# * This is an automated deployment of GitHub Actions, the change log should be updated manually soon
|
# * This is an automated deployment of GitHub Actions; the changelog should be updated manually soon.
|
||||||
|
#
|
||||||
# ## 更新日志
|
# ## 更新日志
|
||||||
# * 这是 GitHub Actions 自动化部署,更新日志应该很快会手动更新
|
# * 这是 GitHub Actions 自动化部署,更新日志应该很快会手动更新。
|
||||||
|
|
Loading…
Reference in New Issue