Skip to content

Commit bab21dd

Browse files
Grep ruby version string instead of matrix.ruby
We cannot interpolate matrix.ruby within the matrix definition itself.
1 parent e09af69 commit bab21dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env_set_cmd: 'export '
2222
gem_file: 'puppet-latest.gem'
2323
extra_steps: |
24-
if [[ ${{ matrix.ruby }} == "2.7" ]]; then
24+
if [[ $(ruby -v | grep 'ruby 2.7') ]]; then
2525
gem install multi_json -v 1.15.0
2626
fi
2727
- os: 'macos-latest'

0 commit comments

Comments
 (0)