Fix: pre-fix $HOME before var and templates 36/71836/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 14 Jun 2023 01:09:03 +0000 (11:09 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 14 Jun 2023 01:10:48 +0000 (11:10 +1000)
Issue: RELENG-4761
Change-Id: Iae022ef868236ccaf3d84bb76f87cecf941395cd
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.github/workflows/gerrit-verify.yaml

index 5cbb79d..9e9d5fc 100644 (file)
@@ -133,8 +133,8 @@ jobs:
               - '**'
       - if: steps.changes.outputs.src == 'true'
         run: |
-          varfiles=(vars/*.json common-packer/vars/*.json)
-          templates=(templates/*.json)
+          varfiles=("$HOME"/vars/*.json)
+          templates=("$HOME"/templates/*.json)
           PACKER_LOGS_DIR="/tmp"
 
           for varfile in "${varfiles[@]}"; do