Skip to content

Commit

Permalink
Update gem-push.yml
Browse files Browse the repository at this point in the history
Experiment with different approach for pushing gem
  • Loading branch information
danielsilva authored Dec 6, 2023
1 parent a7f62fe commit 2504544
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ jobs:
- name: Create release
run: |
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
bundle exec rake release
gem_push=false bundle exec rake release
gem push
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

0 comments on commit 2504544

Please sign in to comment.