From 3fc46583a554e1a24161f3f45130946aa356f544 Mon Sep 17 00:00:00 2001 From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Sun, 4 Oct 2020 19:45:37 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e599551..a57eb5b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,13 +1,10 @@ name: Go on: - push: - # Sequence of patterns matched against refs/heads - branches: - # Push events on main branch - - main - tags: - - v* + release: + types: [released,prereleased] + branches: + - master jobs: -- 2.39.2