Skip to content

Commit

Permalink
Add publishing via Trusted Publishers
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Oct 22, 2024
1 parent 7947565 commit b1bbc32
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Gem

on: workflow_dispatch

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2.4'
- uses: rubygems/release-gem@v1

0 comments on commit b1bbc32

Please sign in to comment.