fix: update alpha and release workflows to trigger builds via git tags only

This commit is contained in:
Tunglies
2025-06-02 22:23:04 +08:00
Unverified
parent 7763abf6c2
commit 1863bb834a
3 changed files with 15 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
name: Alpha Build
on:
workflow_dispatch:
# 因为 alpha 不再负责频繁构建,且需要相对于 autobuild 更稳定使用环境
# 所以不再使用 workflow_dispatch 触发
# 应当通过 git tag 来触发构建
# workflow_dispatch:
push:
tags:
- "v*.*.*-alpha*"

View File

@@ -1,5 +1,5 @@
name: Release Build
# TODO: 参照 alpha.yml 修改,实现稳定版发布,只允许通过 git tag 触发
on:
workflow_dispatch:
permissions: write-all