Skip to content

Commit 5e282b2

Browse files
committed
chore: fix brew version command in pristine-homebrew action
1 parent 9b86686 commit 5e282b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/pristine-homebrew/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
"$prefix/sbin" "$prefix/share" "$prefix/var" "$prefix/Library/Taps"
2626
echo 'EOF'
2727
} >>"$GITHUB_OUTPUT"
28-
echo version=$(brew --version|sed 's/[<>:"\/\\|?*[:space:]]/_/g') >> "$GITHUB_OUTPUT"
28+
echo version=$(brew --version|head -n1|sed 's/[<>:"\/\\|?*[:space:]]/_/g') >> "$GITHUB_OUTPUT"
2929
- name: Cache lookup
3030
id: cache_lookup
3131
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)