Skip to content

[CSTONEG-62]: add GitHub Actions release workflow for gem publishing#72

Open
mattl3w1s wants to merge 1 commit intomainfrom
CSTONEG-62
Open

[CSTONEG-62]: add GitHub Actions release workflow for gem publishing#72
mattl3w1s wants to merge 1 commit intomainfrom
CSTONEG-62

Conversation

@mattl3w1s
Copy link
Copy Markdown

CSTONEG-62

Add a GitHub Actions workflow that publishes the procore-sift gem to RubyGems when lib/sift/version.rb changes on main. Also supports manual dispatch for ad-hoc releases.

The workflow has two jobs:

  1. version-check — detects whether lib/sift/version.rb was modified in the push
  2. release — builds and pushes the gem, gated on version-check (or workflow_dispatch)

Uses fac/ruby-gem-setup-credentials-action and fac/ruby-gem-push-action for credential management and publishing. Requires a RUBY_GEMS_API_KEY secret to be configured on the repo.

Testing Notes

  • Verify RUBY_GEMS_API_KEY secret is configured on the repo
  • Trigger a manual workflow_dispatch run to confirm the workflow executes successfully
  • Bump version in lib/sift/version.rb, merge to main, and confirm gem is published

Made with Cursor

Signed-off-by: Matt Lewis <34316418+mattl3w1s@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant