Skip to content

Commit 8dc051d

Browse files
committed
(maint) Use multi_json 1.15.0 only for ruby 2.7
1 parent 93547ff commit 8dc051d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ jobs:
4444
with:
4545
ruby-version: ${{ matrix.ruby }}
4646

47+
- name: Install multijson 1.15.0
48+
if: startsWith(matrix.ruby, '2.7')
49+
run: gem install multijson -v 1.15.0
50+
4751
- name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem
4852
run: |
4953
${{ matrix.extra_steps }}
5054
curl https://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location
51-
if [[ ${{ matrix.ruby }} == "2.7" ]]; then
52-
gem install multi_json -v 1.15.0
53-
fi
5455
gem install puppet.gem -N
5556
5657
- name: Prepare testing environment with bundler

0 commit comments

Comments
 (0)