Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Aug 29, 2024
1 parent f2e243d commit d342a4f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
release:
types: [published]

jobs:
release:
permissions:
contents: write
id-token: write

environment: release

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Configure trusted publishing credentials
uses: rubygems/[email protected]
- name: Run release rake task
run: bundle exec thor release
shell: bash
- name: Wait for release to propagate
run: gem exec rubygems-await pkg/*.gem
shell: bash

0 comments on commit d342a4f

Please sign in to comment.