Skip to content

Commit

Permalink
,
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 30, 2024
1 parent c61dd57 commit 0eecc78
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release-crate-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Upload Gem
uses: actions/upload-artifact@v4
with:
name: cross-gem-${{ matrix.ruby-platform }}
name: cross-gem-source
path: autocorrect-rb/pkg/

publish:
Expand All @@ -100,7 +100,9 @@ jobs:
path: pkg/

- name: Display structure of built gems
run: ls -R
run: |
mv -lha **/autocorrect-*.gem ./
ls -lha autocorrect-*.gem
working-directory: pkg/

- name: Publish to RubyGem
Expand All @@ -112,7 +114,7 @@ jobs:
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${RUBYGEM_TOKEN}\n" > $HOME/.gem/credentials
for filename in **/autocorrect-*.gem; do
for filename in autocorrect-*.gem; do
echo $filename
gem push $filename
done
Expand Down

0 comments on commit 0eecc78

Please sign in to comment.