From ddfd9f792313691c4b2fa4ca41e025fbf1e69f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=90?= <84855512@qq.com> Date: Sat, 21 Sep 2024 21:40:36 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43659a2..721010e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,15 @@ name: Go Build and Release +#on: +# push: +# tags: +# - 'v*.*.*' # 当推送带有版本号的 tag(例如 v1.0.0)时触发工作流 on: push: - tags: - - 'v*.*.*' # 当推送带有版本号的 tag(例如 v1.0.0)时触发工作流 - + branches: [ "master" ] + pull_request: + branches: [ "master" ] + jobs: build: runs-on: ubuntu-latest