From 5e1d7afb8aeda810090840b55020127e41d8c2f6 Mon Sep 17 00:00:00 2001 From: vouv Date: Fri, 18 Dec 2020 23:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0Github=20Actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 12 +++++++++++- cmd/srun/main.go | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18c75b7..75d484f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,17 @@ name: Build # Run this workflow every time a new commit pushed to your repository -on: [push, pull_request] +on: + push: + branches: + - main + - master + tags-ignore: + - 'v*' + pull_request: + branches: + - main + - master jobs: # Set the job key. The key is displayed as the job name diff --git a/cmd/srun/main.go b/cmd/srun/main.go index 71ee8d4..c3e1a36 100755 --- a/cmd/srun/main.go +++ b/cmd/srun/main.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" ) -const Version = "v1.1.3" +const Version = "v1.1.4" var loginCmd = &cobra.Command{ Use: "login",