Skip to content

Commit 64ab8b4

Browse files
committed
chore: Symlink rcmdnk/file tap to $GITHUB_WORKSPACE in CI Re-tap step
1 parent 10f8719 commit 64ab8b4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ jobs:
170170
pre-commit: 0
171171
tmate: 0
172172
- name: Re-tap
173-
# setup-homebrew tries to remove symlinks for which installed by brew
174-
# tap, event if it is untapped.
173+
# setup-homebrew makes links from $GITHUB_WORKSPACE to taps.
174+
# And it tries to remove these links at post setup event if it is
175+
# untapped.
175176
# Need to tap again after test cleanup otherwise Post Setup Homebrew
176177
# makes an error.
177-
run: brew tap rcmdnk/file
178+
run: ln -s "$GITHUB_WORKSPACE" "$(brew --repo rcmdnk/homebrew-file)"

0 commit comments

Comments
 (0)