Skip to content

Commit 7380b74

Browse files
committed
release: add support for Trusted Publishing
1 parent e2f0952 commit 7380b74

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,21 @@ jobs:
2424
--title "${title}"
2525
env:
2626
GH_TOKEN: ${{ github.token }}
27+
28+
rubygems:
29+
name: RubyGems
30+
runs-on: ubuntu-latest
31+
timeout-minutes: 10
32+
permissions:
33+
id-token: write
34+
environment: release
35+
steps:
36+
- uses: actions/checkout@v4
37+
- uses: ruby/setup-ruby@v1
38+
with:
39+
ruby-version: ruby
40+
bundler-cache: true
41+
- uses: rubygems/[email protected]
42+
- name: Push gems
43+
run: |
44+
bundle exec rake release:rubygem_push

0 commit comments

Comments
 (0)