Skip to content

Commit

Permalink
chore: remove GPR publish
Browse files Browse the repository at this point in the history
  • Loading branch information
coogie committed Nov 6, 2022
1 parent ebb39f5 commit eb49211
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/gempush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
with:
version: 2.6.x

- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${GITHUB_ACTOR} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
# - name: Publish to GPR
# run: |
# mkdir -p $HOME/.gem
# touch $HOME/.gem/credentials
# chmod 0600 $HOME/.gem/credentials
# printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
# gem build *.gemspec
# gem push --KEY github --host https://rubygems.pkg.github.com/${GITHUB_ACTOR} *.gem
# env:
# GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}

- name: Publish to RubyGems
run: |
Expand Down

0 comments on commit eb49211

Please # to comment.