Merge pull request #74 from mailersend/feature/remore-simple-personal… #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |