Skip to content

Commit 5eccb61

Browse files
Merge pull request #144 from puppetlabs/CAT-2413
(CAT-2413) If the matrix includes a version pass it on
2 parents d580ded + f4a6a10 commit 5eccb61

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/module_acceptance.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ jobs:
140140
141141
- name: "Install Puppet agent"
142142
run: |
143-
bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]'
143+
if [[ "${{ matrix.collection.version }}" ]] ; then
144+
export PUPPET_VERSION=${{ matrix.collection.version }}
145+
bundle exec rake 'litmus:install_agent[${{ matrix.collection.collection }}]'
146+
else
147+
bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]'
148+
fi
144149
145150
- name: "Install module"
146151
run: |

0 commit comments

Comments
 (0)