Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/unit_tests_with_nightly_puppet_gem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
run: |
${{ matrix.extra_steps }}
curl https://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location
if [[ ${{ matrix.ruby }} == "2.7" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gah, seems this code is executed on Windows too, which doesn't know what to do with bash-isms https://github.com/puppetlabs/puppetlabs-puppet_agent/actions/runs/16210067256/job/45768327368?pr=786#step:4:31

Maybe add a separate step which is conditional on the ruby version:

- name: Install multijson 1.15.0
  if ${{ startsWith(matrix.ruby, '2.7') }}
  run: gem install multi_json -v 1.15.0
- name: Install the latest nightly build of puppet${{ matrix.puppet_version }} gem

gem install multi_json -v 1.15.0
fi
gem install puppet.gem -N

- name: Prepare testing environment with bundler
Expand Down