Skip to content

Commit

Permalink
Add workflow to push gem to RubyGems using trusted publishing
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Rocha <[email protected]>
  • Loading branch information
jenshenny and alexcrocha committed Jul 24, 2024
1 parent f2b202f commit d4160e3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/push_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Push Gem

on: workflow_dispatch

jobs:
push:
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

- uses: rubygems/release-gem@v1

0 comments on commit d4160e3

Please sign in to comment.