Skip to content

Commit ce4892c

Browse files
committed
CI: switch to GitHub OIDC for gem publishing
1 parent bb92425 commit ce4892c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
id-token: write
1011

1112
jobs:
1213
github-release:
@@ -29,17 +30,14 @@ jobs:
2930
steps:
3031
- name: Checkout
3132
uses: actions/checkout@v4
33+
with:
34+
persist-credentials: false
3235

3336
- name: Set up Ruby
3437
uses: ruby/setup-ruby@v1
3538
with:
3639
ruby-version: '3.0.0'
3740
bundler-cache: true
3841

39-
- name: Build gem
40-
run: gem build invoicetronic_sdk.gemspec
41-
4242
- name: Publish to RubyGems
4343
uses: rubygems/release-gem@v1
44-
with:
45-
gem-name: invoicetronic_sdk

0 commit comments

Comments
 (0)