Skip to content

Commit 60a2b46

Browse files
Merge pull request #49 from browserstack/fix/gem-push-skip-bundler
ci: skip Bundler install in gem-push workflow
2 parents 5341a73 + fccdb05 commit 60a2b46

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/gem-push.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
uses: ruby/setup-ruby@a0102e0972be65f351c307e2d64b9314a57c8073 # v1.324.0
1717
with:
1818
ruby-version: 2.6.10
19+
# This job only runs `gem build` / `gem push`, so it doesn't need Bundler.
20+
# Without this, setup-ruby installs the Gemfile.lock BUNDLED WITH version
21+
# (2.7.1, which needs Ruby >= 3.2), and that fails on Ruby 2.6.
22+
bundler: none
1923

2024
- uses: rubygems/configure-rubygems-credentials@762a4b77c3300434bb57c7ce80b20e36231927aa # v2.0.0
2125
- name: Build and push gem

0 commit comments

Comments
 (0)