Skip to content

Commit

Permalink
Merge pull request #997 from appwrite/fix-ruby-publish
Browse files Browse the repository at this point in the history
Fix Ruby publish
  • Loading branch information
abnegate authored Oct 8, 2024
2 parents 4e9f23e + d4acfa8 commit 0acceab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/ruby/.github/workflows/publish.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:

- name: Set up RubyGems
run: |
cat "---\n:rubygems_api_key: {{ '${{ secrets.RUBYGEMS_TOKEN }}' }}\n" > ~/.gem/credentials
echo -e "---\n:rubygems_api_key: $RUBYGEMS_TOKEN\n" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials
env:
RUBYGEMS_TOKEN: ${{ secrets.RUBYGEMS_TOKEN }}

- name: Build gem
run: gem build {{ spec.title | caseLower }}.gemspec
Expand Down

0 comments on commit 0acceab

Please sign in to comment.