From 3684084f863afef9972c5e1916763245918e5cb0 Mon Sep 17 00:00:00 2001 From: DarcJC Date: Fri, 12 Jul 2024 18:31:21 +0800 Subject: [PATCH] Change action dispatch method --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d09696..3517c88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,17 @@ name: Build and Release -on: +on: + workflow_dispatch: + inputs: + versionTag: + description: 'Version tag in release name' + required: false + default: string + default: 'v0.0.' # push: # tags: # - 'release-v*' # 触发此工作流程的tag,格式为release-v* - workflow_dispatch: # 允许手动触发此工作流程 + # workflow_dispatch: # 允许手动触发此工作流程 jobs: build: