Skip to content

Commit

Permalink
Merge pull request #172735 from Homebrew/SMillerDev-patch-1
Browse files Browse the repository at this point in the history
fix: use --casks for scheduled info
  • Loading branch information
krehel authored May 2, 2024
2 parents 91345b9 + 7e77af6 commit 50cfa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
casks="$(find "$(brew --repo "${TAP}")/Casks" -type f | shuf -n "${TEST_COUNT}" | xargs -I{} basename {} .rb)"
# shellcheck disable=SC2086
json="$(
brew info --json=v2 $casks |
brew info --json=v2 --casks $casks |
jq --compact-output '[.casks[] | select(.deprecated == false and .disabled == false) | .full_token]'
)"
echo "json=${json}" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 50cfa28

Please sign in to comment.