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: |