Skip to content

Commit

Permalink
Update gem-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kratzky authored Jul 3, 2023
1 parent d2a6f74 commit 4f9ae22
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@ jobs:
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1

- 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: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
OWNER: ${{ github.repository_owner }}
REPOSITORY: 2captcha/2captcha-ruby

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

0 comments on commit 4f9ae22

Please sign in to comment.