actionshub/Publish Ruby Gem
Builds and publishes Ruby gems to GitHub Packages, RubyGems.org, Gem.coop, Forgejo, and Gitea
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 15, 2026
- License
- Apache 2.0
Pinned Snippet
uses: actionshub/publish-ruby-gem@ed16830e5693e2a565fafb8b40d8f20257cf2904 # v0.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token for GitHub package registry. (Alias for github_token) | no | — |
| github_token | GitHub token for GitHub package registry. | no | — |
| rubygems_token | API key for rubygems.org. | no | — |
| gemcoop_token | API key for gem.coop. | no | — |
| forgejo_token | Personal access token for a Forgejo RubyGems package registry. | no | — |
| forgejo_url | Base URL for the Forgejo instance, for example https://forgejo.example.com. | no | — |
| forgejo_owner | User or organization account that owns the Forgejo package. Defaults to owner or GITHUB_REPOSITORY_OWNER. | no | — |
| gitea_token | Personal access token for a Gitea RubyGems package registry. | no | — |
| gitea_url | Base URL for the Gitea instance, for example https://gitea.example.com. | no | — |
| gitea_owner | User or organization account that owns the Gitea package. Defaults to owner or GITHUB_REPOSITORY_OWNER. | no | — |
| owner | Name of the user or organization account that owns the repository containing your project. Defaults to $GITHUB_REPOSITORY_OWNER | no | — |
| working-directory | An optional path to switch to before building the Gem. | no | . |
| ruby-version | Ruby version to use. Defaults to 4.0 | no | 4.0 |
Outputs
no outputs