Skip to content

Commit d1f9cc7

Browse files
authored
Publish gem on release (#88)
1 parent 090cce9 commit d1f9cc7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
release:
3+
types: [published]
4+
5+
jobs:
6+
push:
7+
name: Push gem to RubyGems.org
8+
runs-on: ubuntu-latest
9+
10+
permissions:
11+
id-token: write
12+
contents: write
13+
14+
steps:
15+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
16+
with:
17+
persist-credentials: false
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@211ffaaa5f8dda97e9e8bca4e70d0fbaf2f8c41c
20+
with:
21+
bundler-cache: false
22+
ruby-version: "3.3"
23+
24+
- uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b

0 commit comments

Comments
 (0)