Skip to content

Commit

Permalink
Merge pull request #276 from segmentio/MichaelGHSeg/no_gpr_publish
Browse files Browse the repository at this point in the history
Removing github gem publish step
  • Loading branch information
MichaelGHSeg authored Oct 7, 2024
2 parents 1027bbd + 132aa19 commit 167f59f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@ jobs:
with:
ruby-version: 2.7.7

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

- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
Expand Down

0 comments on commit 167f59f

Please sign in to comment.