Skip to content

Commit

Permalink
i think this changed
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Mar 9, 2023
1 parent 12d4f69 commit 20cae85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
ruby-versions: "3.1,3.2" # SUPPORTED_RUBY_VERSIONS

- name: Publish to RubyGems
working-directory: ${{ steps.cross-gem.outputs.gem-path }}/
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_BOT_KEY}}
GEM_OUTPUT_PATH: ${{ steps.cross-gem.outputs.gem-path }}
run: |
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
for i in *.gem; do
for i in "${GEM_OUTPUT_PATH}/*.gem"; do
if [ -f "$i" ]
then
gem push "$i" || true
Expand Down

0 comments on commit 20cae85

Please sign in to comment.