Skip to content

Commit

Permalink
Only release on tags
Browse files Browse the repository at this point in the history
Signed-off-by: gscho <[email protected]>
  • Loading branch information
gscho committed May 10, 2020
1 parent f5485e8 commit 50028d1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Release Gem

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
create:
tags:
- v*

jobs:
build:
Expand All @@ -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: |
Expand Down

0 comments on commit 50028d1

Please sign in to comment.