Skip to content

Commit b51ded1

Browse files
Add workflow for releasing gem
1 parent 47bb82b commit b51ded1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
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+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
- uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.0
17+
with:
18+
ruby-version: 3.4.4
19+
bundler-cache: true
20+
- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1

0 commit comments

Comments
 (0)