Skip to content

Commit 220f5db

Browse files
committed
update install agent run command
1 parent 390a304 commit 220f5db

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ jobs:
9494
9595
- name: Install agent
9696
run: |
97-
bundle exec rake 'litmus:install_agent[${{ matrix.collection.collection }}]'
97+
if [[ "${{ matrix.collection.version }}" ]] ; then
98+
export PUPPET_VERSION=${{ matrix.collection.version }}
99+
bundle exec rake 'litmus:install_agent[${{ matrix.collection.collection }}]'
100+
else
101+
bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]'
102+
fi
98103
99104
- name: Install module
100105
run: |

0 commit comments

Comments
 (0)