Bump to 1.0.3 #7
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: | |
- '*' | |
jobs: | |
publish: | |
if: ${{ !github.event.act }} # skip during local actions testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake | |
- name: Publish gem | |
uses: dawidd6/action-publish-gem@v1 | |
with: | |
# Optional, will publish to RubyGems if specified | |
api_key: ${{secrets.RUBYGEMS_API_KEY}} | |
# Optional, will publish to GitHub Packages if specified | |
github_token: ${{secrets.GITHUB_TOKEN}} |