We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5205a96 commit 88fdfd3Copy full SHA for 88fdfd3
.github/workflows/publish.yml
.github/workflows/push_gem.yml
@@ -0,0 +1,24 @@
1
+jobs:
2
+ push:
3
+ branches:
4
+ - "main"
5
+ tags:
6
+ - v*
7
+ name: Push gem to RubyGems.org
8
+ runs-on: ubuntu-latest
9
+
10
+ permissions:
11
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
12
+ contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag
13
14
+ steps:
15
+ # Set up
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ bundler-cache: true
21
+ ruby-version: ruby
22
23
+ # Release
24
+ - uses: rubygems/release-gem@v1
0 commit comments