Skip to content

Commit

Permalink
attempt to fix rubygem publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
tatums committed Apr 30, 2024
1 parent c481e49 commit 0fdbeb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
uses: ruby/setup-ruby@v1
- name: Publish to GPR
run: |
curl -u $RUBYGEMS_USERNAME:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
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
curl -u $RUBYGEMS_USERNAME:$RUBYGEMS_PASSWORD https://rubygems.org/api/v1/api_key.yaml > $HOME/.gem/credentials; chmod 0600 $HOME/.gem/credentials
gem build arxiv.gemspec
gem push `ls | grep *.gem`
env:
Expand Down

0 comments on commit 0fdbeb4

Please sign in to comment.