Skip to content

Commit

Permalink
Add Rubygems release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
iMacTia committed Feb 24, 2022
1 parent 7362c7a commit 08274b2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
name: Publish to Rubygems
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Ruby 2.7
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7

- name: Publish to RubyGems
uses: dawidd6/action-publish-gem@v1
with:
api_key: ${{secrets.RUBYGEMS_AUTH_TOKEN}}

0 comments on commit 08274b2

Please sign in to comment.