Skip to content

Commit

Permalink
Update gem-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gsguma authored Mar 18, 2024
1 parent 8dd5845 commit 9de1b61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n:status: :ok\n" > $HOME/.gem/credentials
gem update --system
gem build *.gemspec
gem push *.gem
gem push --backtrace --debug --verbose *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

0 comments on commit 9de1b61

Please sign in to comment.