A GitHub Action to publish a RubyGem to RubyGems.org
This Action has been heavily influenced by Jstastny's Publish-Gem-to-Github Action.
See RubyGems API Key scopes on how to obtain an API key
jobs:
release:
runs-on: ubuntu-latest
- name: Checkout
uses: actions/checkout@v2
- name: Build and publish to RubyGems
uses: actionshub/publish-gem-to-rubygems@main
with:
token: ${{ secrets.RUBY_GEMS_API_KEY }}