Skip to content

Commit

Permalink
🔀 Merge pull request #341 from ruby/backport/0.4/340/fix-gh-workflow-…
Browse files Browse the repository at this point in the history
…push_gem

✅ Fix GH action for rubygems Trusted Publishing (backport: #340)
  • Loading branch information
nevans authored Oct 13, 2024
2 parents 0cbf531 + c120952 commit 8484205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:
steps:
# Set up
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit

- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby

# Release
- name: Publish to RubyGems
uses: rubygems/release-gem@612653d273a73bdae1df8453e090060bb4db5f31 # v1
uses: rubygems/release-gem@v1

- name: Create GitHub release
run: |
Expand Down

0 comments on commit 8484205

Please sign in to comment.