We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ee4183 commit 922fd84Copy full SHA for 922fd84
1 file changed
.github/workflows/release.yml
@@ -111,14 +111,7 @@ jobs:
111
echo 'exists=false' >> "$GITHUB_OUTPUT"
112
fi
113
114
- - name: Publish to RubyGems
115
- if: steps.rubygems.outputs.exists != 'true'
116
- env:
117
- GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
118
- run: |
119
- if [ -z "$GEM_HOST_API_KEY" ]; then
120
- echo 'Missing RUBYGEMS_API_KEY secret.'
121
- exit 1
122
- fi
123
-
124
- gem push "cloudstack-cli-${{ steps.release.outputs.version }}.gem"
+ - name: Publish gem to RubyGems
+ uses: rubygems/release-gem@v1
+ with:
+ api-key: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
0 commit comments