File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 30
30
- uses : dtolnay/rust-toolchain@stable
31
31
- name : install GNU patch on MacOS
32
32
if : runner.os == 'macOS'
33
- run : brew install gpatch
33
+ run : |
34
+ brew install gpatch
35
+ echo "/opt/homebrew/opt/gpatch/libexec/gnubin" >> "$GITHUB_PATH"
34
36
- name : set up PATH on Windows
35
37
# Needed to use GNU's patch.exe instead of Strawberry Perl patch
36
38
if : runner.os == 'Windows'
@@ -111,7 +113,9 @@ jobs:
111
113
- run : rustup component add llvm-tools-preview
112
114
- name : install GNU patch on MacOS
113
115
if : runner.os == 'macOS'
114
- run : brew install gpatch
116
+ run : |
117
+ brew install gpatch
118
+ echo "/opt/homebrew/opt/gpatch/libexec/gnubin" >> "$GITHUB_PATH"
115
119
- name : set up PATH on Windows
116
120
# Needed to use GNU's patch.exe instead of Strawberry Perl patch
117
121
if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments