From 8596b03e9957100188ec3a293dbda6838f02b1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Guimar=C3=A3es?= Date: Tue, 15 Sep 2026 17:54:34 -0300 Subject: [PATCH] ci: Install the bundle before publishing to RubyGems The publish job ran bundle exec rake release without ever installing gems, so it failed with Could not find gem 'faraday' for both 2.7.0 and 2.8.0. Also allow a manual run so the publish can be repeated for the tag master already points at. --- .github/workflows/release-please.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 11ac718..4126d78 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -4,6 +4,8 @@ on: push: branches: - master + # Re-run the RubyGems publish for the tag master already points at. + workflow_dispatch: permissions: contents: write @@ -21,13 +23,14 @@ jobs: rubygems-publish: needs: release-please - if: ${{ needs.release-please.outputs.release_created == 'true' }} + if: ${{ needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: "3.3" + bundler-cache: true - uses: rubygems/release-gem@v1 with: await-release: false