From c66480dab4ca5a8198e52f96ed26b851ac15994b Mon Sep 17 00:00:00 2001 From: KenGrofork <126143068+KenGrofork@users.noreply.github.com> Date: Thu, 4 Jul 2024 16:38:31 +0800 Subject: [PATCH] Optimize trigger process When you push tags that match the regular expression v[0-9]+.[0-9]+.[0-9]+, the trigger will occur. --- .github/workflows/Build-WeChatFerry.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Build-WeChatFerry.yml b/.github/workflows/Build-WeChatFerry.yml index 9945171..f032095 100644 --- a/.github/workflows/Build-WeChatFerry.yml +++ b/.github/workflows/Build-WeChatFerry.yml @@ -2,15 +2,8 @@ name: Build-WeChatFerry on: push: - branches: - - master - paths: - - 'WeChatFerry/**' # 仅当这个目录中的文件有变化时触发 - pull_request: - branches: - - master - paths: - - 'WeChatFerry/**' + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' workflow_dispatch: inputs: use_cache: