Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 8736061

Browse files
authored
Update gem-push.yml
1 parent bafa234 commit 8736061

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/gem-push.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
touch $HOME/.gem/credentials
2626
chmod 0600 $HOME/.gem/credentials
2727
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
28-
gem signin --otp ${{ github.event.inputs.otp }}
2928
gem build *.gemspec
30-
gem push *.gem
29+
gem push *.gem --otp ${{ github.event.inputs.otp }}
3130
env:
3231
RUBYGEMS_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

0 commit comments

Comments
 (0)