From 50028d12c40b15a919c38e462934ff5166c222dd Mon Sep 17 00:00:00 2001 From: gscho Date: Sun, 10 May 2020 10:49:42 -0400 Subject: [PATCH] Only release on tags Signed-off-by: gscho --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f900f3..258cf65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,9 @@ name: Release Gem on: - push: - branches: [ master ] - pull_request: - branches: [ master ] + create: + tags: + - v* jobs: build: @@ -16,7 +15,7 @@ jobs: - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: - version: 2.6.x + ruby-version: 2.6.x - name: Publish to RubyGems run: |