This commit changes the way we get the `puppet_version` when installing
the latest nightly build of puppet.
sleep_time=0
until [ $sleep_time -ge 15 ]
do
- curl --location http://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem
+ curl --location http://nightlies.puppet.com/downloads/gems/puppet${{ env.puppet_version }}-nightly/${{ matrix.gem_file_postfix }} --output puppet.gem
gem install puppet.gem -N && break
sleep_time=$((sleep_time*2+1))