Skip to content

Commit

Permalink
Merge pull request #3 from panxl6/2024-04
Browse files Browse the repository at this point in the history
feat: remove GPR config.
  • Loading branch information
panxl6 authored Jul 1, 2024
2 parents 957f22a + 62a59fe commit 12ac277
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 @@ -23,18 +23,6 @@ jobs:
with:
ruby-version: 2.7.2

- 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 12ac277

Please sign in to comment.