Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed May 6, 2024
1 parent e5834df commit fb327c2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Gem

on:
push:
tags:
- 'v*'

jobs:
publish-rubygem:
runs-on: ubuntu-latest

permissions:
contents: write
id-token: write

environment: release

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 fb327c2

Please sign in to comment.