Skip to content

Commit

Permalink
Publish gem via releases
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepiske committed Dec 30, 2024
1 parent 449b3ac commit 41f25e0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
release:
types: [published]

jobs:
push:
name: Publish to Rubygems
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3

- uses: rubygems/release-gem@v1

0 comments on commit 41f25e0

Please sign in to comment.