Skip to content

actionshub/publish-gem-to-rubygems

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

publish-gem-to-rubygems

A GitHub Action to publish a RubyGem to RubyGems.org

This Action has been heavily influenced by Jstastny's Publish-Gem-to-Github Action.

Usage

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 }}