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')