Skip to content

Commit

Permalink
Adjust publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurynas Butkus committed Aug 4, 2024
1 parent f9b64a9 commit da11a8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:

# setup .gem/credentials
- run: mkdir -p ~/.gem
- run: echo -e "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
- run: >-
echo -e "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > ~/.gem/credentials
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
- run: chmod 0600 ~/.gem/credentials

- run: gem build convert_api.gemspec --output=release.gem
Expand Down

0 comments on commit da11a8f

Please sign in to comment.