From 242e391820c9ddc8ecca79c08088f882b8cf01a0 Mon Sep 17 00:00:00 2001 From: T Van Doren <210452321+tvdaptible@users.noreply.github.com> Date: Thu, 18 Dec 2025 09:36:53 -0800 Subject: [PATCH] Add automated release workflow for RubyGems trusted publishing --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1689529 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +on: + release: + types: [published] + +jobs: + push: + name: Push gem to RubyGems.org + runs-on: ubuntu-latest + + permissions: + id-token: write + contents: write + + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + with: + persist-credentials: false + - name: Set up Ruby + uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 + with: + bundler-cache: false + ruby-version: "3.4" + + - uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32