From 4ff0cd891d4180037ef303ccf391d064a07db229 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 1 Jun 2022 11:16:22 -0500 Subject: [PATCH] Validate dynamic distros, too --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b0abd9..958ee31 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,10 @@ jobs: run: | set -exo pipefail for vars in distros/*; do + if [[ "${vars}" == *.sh ]]; then + "./${vars}" + vars=${vars%.sh} + fi packer validate -except=upload -var-file=${vars} sources/ done