Skip to content

Commit

Permalink
fix: use --casks for scheduled info
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev authored May 2, 2024
1 parent 91345b9 commit 7e77af6
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 7e77af6

Please sign in to comment.