Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Publish gem Github Action

An action that builds and then publishes a Ruby gem to rubygems.org or GitHub Packages.

Will find every .gemspec file in current directory and publish a gem for it.

Runs on ubuntu and macos.

Usage

on:
  push:
    tags:
      - '*'

---

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

It is possible to publish both to RubyGems and GitHub Packages

About

⚙️ A GitHub Action to build and publish a Ruby gem

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages