Skip to content

Commit 9e835fd

Browse files
authored
Merge pull request #25 from puppetlabs/add-step-for-multijson-ruby-27
Install multi_json 1.15.0 on all ruby 2.7 versions
2 parents bb9c561 + f8a9f6e commit 9e835fd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ jobs:
2020
os_type: 'Linux'
2121
env_set_cmd: 'export '
2222
gem_file: 'puppet-latest.gem'
23-
extra_steps: |
24-
if [[ ${{ matrix.ruby }} == "2.7" ]]; then
25-
gem install multi_json -v 1.15.0
26-
fi
2723
- os: 'macos-latest'
2824
os_type: 'macOS'
2925
env_set_cmd: 'export '
@@ -47,6 +43,9 @@ jobs:
4743
uses: ruby/setup-ruby@v1
4844
with:
4945
ruby-version: ${{ matrix.ruby }}
46+
- name: Circumvent multi_json 1.16.0 on ruby 2.7
47+
if: ${{ matrix.ruby == '2.7' }}
48+
run: gem install multi_json -v 1.15.0
5049

5150
- name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem
5251
run: |

0 commit comments

Comments
 (0)