]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commitdiff
(maint) Replace matrix.puppet_version with env.puppet_version
authorBobosila Victor <vbobosila1@gmail.com>
Mon, 17 Jan 2022 08:59:48 +0000 (10:59 +0200)
committerBobosila Victor <vbobosila1@gmail.com>
Mon, 17 Jan 2022 09:09:51 +0000 (11:09 +0200)
This commit changes the way we get the `puppet_version` when installing
the latest nightly build of puppet.

.github/workflows/dispatch_unit_tests_with_nightly_puppet_gem.yaml

index b8a15f1ef625fe37a5d61a1929808f770f8406ca..5f4c7b9ae364af1cd3369d1bbe359374779ded39 100644 (file)
@@ -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))