Skip to content

Commit 887d9c6

Browse files
committed
chore: update Homebrew PATH setup in tmate workflow, use GITHUB_PATH
1 parent 4a27405 commit 887d9c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/tmate.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
- name: Setup Homebrew
3232
run: |
3333
if ! which brew &>/dev/null;then
34-
PATH="/home/linuxbrew/.linuxbrew/bin:/opt/homebrew/bin:/usr/local/bin:$PATH"
35-
echo "PATH=$PATH" >> "$GITHUB_ENV"
34+
echo "/home/linuxbrew/.linuxbrew/bin:/opt/homebrew/bin:$PATH" >> "$GITHUB_PATH"
3635
echo "HOMEBREW_PREFIX=$(brew --prefix)" >> "$GITHUB_ENV"
3736
echo "HOMEBREW_CELLAR=$(brew --cellar)" >> "$GITHUB_ENV"
3837
echo "HOMEBREW_REPOSITORY=$(brew --repository)" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)