From f4a6a10198ad1139b984854f2047840cc400f604 Mon Sep 17 00:00:00 2001 From: david22swan Date: Wed, 6 Aug 2025 15:39:52 +0100 Subject: [PATCH] (CAT-2413) If the matrix includes a version pass it on --- .github/workflows/module_acceptance.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/module_acceptance.yml b/.github/workflows/module_acceptance.yml index 0a8ffdc..0e91f19 100644 --- a/.github/workflows/module_acceptance.yml +++ b/.github/workflows/module_acceptance.yml @@ -140,7 +140,12 @@ jobs: - name: "Install Puppet agent" run: | - bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' + if [[ "${{ matrix.collection.version }}" ]] ; then + export PUPPET_VERSION=${{ matrix.collection.version }} + bundle exec rake 'litmus:install_agent[${{ matrix.collection.collection }}]' + else + bundle exec rake 'litmus:install_agent[${{ matrix.collection }}]' + fi - name: "Install module" run: |