aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobosila Victor <vbobosila1@gmail.com>2022-01-17 10:59:48 +0200
committerBobosila Victor <vbobosila1@gmail.com>2022-01-17 11:09:51 +0200
commitc627e7605641678a415fe909a821d501268ea710 (patch)
treed996d884b18c91747ae7a13cc97c881d04c56d0f
parent1bd7334541b4dc0a6f14b0363d53caa56376242d (diff)
downloadpuppet-sshkeys_core-c627e7605641678a415fe909a821d501268ea710.tar.gz
puppet-sshkeys_core-c627e7605641678a415fe909a821d501268ea710.tar.bz2
(maint) Replace matrix.puppet_version with env.puppet_version
This commit changes the way we get the `puppet_version` when installing the latest nightly build of puppet.
-rw-r--r--.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
index b8a15f1..5f4c7b9 100644
--- a/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
+++ b/.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml
@@ -106,7 +106,7 @@ jobs:
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))