Skip to content
edit-3

GitHub Action

publish-gem-to-rubygems

v2.0.3 Latest version

publish-gem-to-rubygems

edit-3

publish-gem-to-rubygems

Run publish Gems to Rubygems

Installation

Copy and paste the following snippet into your .yml file.

              

- name: publish-gem-to-rubygems

uses: actionshub/publish-gem-to-rubygems@v2.0.3

Learn more about this action in actionshub/publish-gem-to-rubygems

Choose a version

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