Skip to content

Commit

Permalink
Improved folder and file check
Browse files Browse the repository at this point in the history
  • Loading branch information
bhanu-lab committed Dec 29, 2024
1 parent a167990 commit 8b820db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-macsetup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-11]
os: [macos-latest]
arch: [x64, arm64]
fail-fast: false

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
exit 1
fi
echo "folder and file exists"
tools=$(jq -c '.[]' "$macsetup_dir/tools.json")
tools=$(jq -c '.[]' "$macsetup_dir/tools.json" || { echo "Failed to parse tools.json"; exit 1; })
for tool in $tools; do
name=$(echo "$tool" | jq -r '.name')
verify_command=$(echo "$tool" | jq -r '.verify_command')
Expand Down

0 comments on commit 8b820db

Please sign in to comment.