Skip to content

feat: update publish_gem #11

feat: update publish_gem

feat: update publish_gem #11

Workflow file for this run

name: Publish Gem
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install Bundler
run: gem install bundler -v 2.4.22
- name: Install dependencies
run: bundle _2.4.22_ install
- name: Release Gem
if: contains(github.ref, 'refs/tags/v')
uses: cadwallion/publish-rubygems-action@master
env:
GITHUB_TOKEN: ${{secrets.GITHUBTOKEN}}
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
RELEASE_COMMAND: rake release