From 52a71a36c1e55c3afa1042ebe4e65181aa60a37c Mon Sep 17 00:00:00 2001 From: bhanu Date: Fri, 27 Dec 2024 16:12:17 +0530 Subject: [PATCH] Updated github action verification pipeline --- .github/workflows/validate-macsetup.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-macsetup.yaml b/.github/workflows/validate-macsetup.yaml index bd23db0..b5e262f 100644 --- a/.github/workflows/validate-macsetup.yaml +++ b/.github/workflows/validate-macsetup.yaml @@ -41,7 +41,8 @@ jobs: - name: Validate installation run: | # Read validation commands from config/tools.json and run them - tools=$(jq -c '.[]' config/tools.json) + macsetup_dir="$HOME/.macsetup" + tools=$(jq -c '.[]?' "$macsetup_dir/tools.json") for tool in $tools; do name=$(echo "$tool" | jq -r '.name') verify_command=$(echo "$tool" | jq -r '.verify_command')