mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
Refactor workflow triggers in alpha.yml to clarify usage of git tags and remove commented-out sections
This commit is contained in:
23
.github/workflows/alpha.yml
vendored
23
.github/workflows/alpha.yml
vendored
@@ -4,14 +4,21 @@ on:
|
|||||||
# 因为 alpha 不再负责频繁构建,且需要相对于 autobuild 更稳定使用环境
|
# 因为 alpha 不再负责频繁构建,且需要相对于 autobuild 更稳定使用环境
|
||||||
# 所以不再使用 workflow_dispatch 触发
|
# 所以不再使用 workflow_dispatch 触发
|
||||||
# 应当通过 git tag 来触发构建
|
# 应当通过 git tag 来触发构建
|
||||||
# workflow_dispatch:
|
# TODO 手动控制版本号
|
||||||
push:
|
workflow_dispatch:
|
||||||
# 应当限制在 dev 分支上触发发布。
|
# inputs:
|
||||||
branches:
|
# tag_name:
|
||||||
- dev
|
# description: "Alpha tag name (e.g. v1.2.3-alpha.1)"
|
||||||
# 应当限制 v*.*.*-alpha* 的 tag 来触发发布。
|
# required: true
|
||||||
tags:
|
# type: string
|
||||||
- "v*.*.*-alpha*"
|
|
||||||
|
# push:
|
||||||
|
# # 应当限制在 dev 分支上触发发布。
|
||||||
|
# branches:
|
||||||
|
# - dev
|
||||||
|
# # 应当限制 v*.*.*-alpha* 的 tag 来触发发布。
|
||||||
|
# tags:
|
||||||
|
# - "v*.*.*-alpha*"
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
env:
|
env:
|
||||||
TAG_NAME: alpha
|
TAG_NAME: alpha
|
||||||
|
|||||||
Reference in New Issue
Block a user