修改工作流为手动触发
This commit is contained in:
9
.github/workflows/gitea.yml
vendored
9
.github/workflows/gitea.yml
vendored
@@ -1,9 +1,12 @@
|
|||||||
name: Rust Cross-Compile and Release
|
name: Rust Cross-Compile and Release
|
||||||
|
|
||||||
|
# on:
|
||||||
|
# push:
|
||||||
|
# tags:
|
||||||
|
# - 'v*.*.*' # 当有形如 v1.0.0 的标签被推送到仓库时触发此工作流
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch: # 启用手动触发工作流
|
||||||
tags:
|
|
||||||
- 'v*.*.*' # 当有形如 v1.0.0 的标签被推送到仓库时触发此工作流
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_release:
|
build_and_release:
|
||||||
|
|||||||
Reference in New Issue
Block a user