Skip to content

Commit

Permalink
release: add support for Trusted Publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 12, 2024
1 parent e2f0952 commit 7380b74
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,21 @@ jobs:
--title "${title}"
env:
GH_TOKEN: ${{ github.token }}

rubygems:
name: RubyGems
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
id-token: write
environment: release
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true
- uses: rubygems/[email protected]
- name: Push gems
run: |
bundle exec rake release:rubygem_push

0 comments on commit 7380b74

Please sign in to comment.