Skip to content

Commit

Permalink
chore: fix Publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
aristotelesbr committed Sep 29, 2024
1 parent 0cd22ca commit c71a137
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
run: bundle install
- name: Build gem
run: gem build lennarb.gemspec
- name: Set up RubyGems credentials
run: |
mkdir -p ~/.gem
echo -e "---\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials
- name: Push gem to RubyGems
env:
RUBYGEMS_HOST: "https://rubygems.org"
Expand Down

0 comments on commit c71a137

Please sign in to comment.