Skip to content

Commit

Permalink
Tweak publish action to only build and push
Browse files Browse the repository at this point in the history
Previously the action was running `bundle exec rake release`, which was doing too much.

The GitHub publish_gem action automatically runs when a release tag is pushed. The only thing the action should do is build the gem and publish to RubyGems.
  • Loading branch information
darronschall committed May 29, 2024
1 parent f9d6d9f commit 3b87e66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
bundler-cache: true
ruby-version: ruby

# Release
- uses: rubygems/release-gem@v1
# Build and Release
- name: Build and Release to RubyGems
run: bundle exec rake build release:rubygem_push

0 comments on commit 3b87e66

Please sign in to comment.