From b6932f36c0a6af9897d723d222145678c9bc0f06 Mon Sep 17 00:00:00 2001 From: Micke Lisinge Date: Sat, 10 Aug 2024 23:56:40 +0200 Subject: [PATCH] fix: Add step to publish gem to rubygems to the release action --- .github/workflows/release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cdc2584..e1e6b87 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,6 +6,7 @@ on: permissions: contents: write pull-requests: write + id-token: write name: release-please @@ -16,3 +17,10 @@ jobs: - uses: googleapis/release-please-action@v4 with: release-type: ruby + - uses: actions/checkout@v4 + if: ${{ steps.release.outputs.release_created }} + - uses: ruby/setup-ruby@v1 + if: ${{ steps.release.outputs.release_created }} + with: + bundler-cache: true + - uses: rubygems/release-gem@v1