Skip to content

Commit 1677d7e

Browse files
committed
Bump/synchronize appraisals
1 parent 95fcacb commit 1677d7e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ jobs:
9797
java_version: '17' # JRuby 10 requires Java 21
9898
fail-fast: false
9999

100+
env:
101+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
102+
JRUBY_VERSION: ${{ matrix.jruby_version }}
103+
100104
steps:
101105
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102106

@@ -111,11 +115,9 @@ jobs:
111115
uses: ruby/setup-ruby@e34163cd15f4bb403dcd72d98e295997e6a55798 # v1.238.0
112116
with:
113117
ruby-version: jruby-${{ matrix.jruby_version }}
114-
bundler: 2.3.27 # use version that is OK for JRuby 9.3
118+
bundler-cache: 'false' # Need to install later so we can vary from Gemfile.lock as required for JRuby version compatibility
119+
bundler: ${{ startsWith(matrix.jruby_version, '9.3') && '2.3.27' || 'Gemfile.lock' }}
115120

116121
- name: Run appraisal for ${{ matrix.appraisal }}
117-
env:
118-
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
119-
JRUBY_VERSION: ${{ matrix.jruby_version }}
120122
run: bundle install && bundle exec rake spec
121123

0 commit comments

Comments
 (0)