Skip to content

Commit

Permalink
Publush to rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesridgway committed Aug 5, 2023
1 parent 60bc851 commit 3509e07
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ jobs:
chmod 0600 ~/.gem/credentials
echo "Running gem release task..."
release_command="${RELEASE_COMMAND:-rake release}"
$release_command
find . -name '*.gemspec' -maxdepth 1 -exec gem build {} \;
find . -name '*.gem' -maxdepth 1 -print0 | xargs -0 gem push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
Expand Down

0 comments on commit 3509e07

Please sign in to comment.