Skip to content

Commit

Permalink
Add gem push workflow (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijivanchenko authored Oct 13, 2021
1 parent 8372d6a commit d7cf164
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Gem

on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Release Gem
if: contains(github.ref, 'refs/tags/v')
uses: cadwallion/publish-rubygems-action@v1.0.0
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: rake release

0 comments on commit d7cf164

Please sign in to comment.