From 215c566d958442144a475379a1a13f57c72867f4 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 8 Oct 2026 12:27:23 +0900 Subject: [PATCH] Exclude the sig group from bundle exec in the release job BUNDLE_WITHOUT was set only on the setup-ruby step, so `bundle exec rake release` in rubygems/release-gem still required the sig group and failed with Bundler::GemNotFound when pushing v0.10.0. https://github.com/ruby/net-http/actions/runs/37721875051/job/113131134375 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/push_gem.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push_gem.yml b/.github/workflows/push_gem.yml index 1ff3dfce..e3572be9 100644 --- a/.github/workflows/push_gem.yml +++ b/.github/workflows/push_gem.yml @@ -12,6 +12,8 @@ jobs: push: if: github.repository == 'ruby/net-http' runs-on: ubuntu-latest + env: + BUNDLE_WITHOUT: sig environment: name: rubygems.org @@ -34,8 +36,6 @@ jobs: with: bundler-cache: true ruby-version: ruby - env: - BUNDLE_WITHOUT: sig - name: Publish to RubyGems uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1