File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,13 @@ jobs:
42
42
run : |
43
43
brew install ninja flex bison automake autoconf-archive coreutils
44
44
if [[ $(uname -m) == 'arm64' ]]; then
45
- echo 'export PATH="/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/ flex/bin:$PATH"' >> ~ /.bash_profile
46
- echo 'export BISON ="/opt/homebrew/opt/bison/bin/bison "' >> ~ /.bash_profile
45
+ echo 'export PATH="/opt/homebrew/opt/flex/bin:$PATH"' >> /Users/runner /.bash_profile
46
+ echo 'export PATH ="/opt/homebrew/opt/bison/bin:$PATH "' >> /Users/runner /.bash_profile
47
47
else
48
- echo 'export PATH="/usr/local/opt/bison/bin:/usr/local/opt/ flex/bin:$PATH"' >> ~ /.bash_profile
49
- echo 'export BISON ="/usr/local/opt/bison/bin/bison "' >> ~ /.bash_profile
48
+ echo 'export PATH="/usr/local/opt/flex/bin:$PATH"' >> /Users/runner /.bash_profile
49
+ echo 'export PATH ="/usr/local/opt/bison/bin:$PATH "' >> /Users/runner /.bash_profile
50
50
fi
51
- source ~/.bash_profile
52
- bison --version
53
- PATH="/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/flex/bin:$PATH"
54
- bison --version
55
- PATH="/opt/homebrew/opt/bison/bin:$PATH"
51
+ source /Users/runner/.bash_profile
56
52
bison --version
57
53
58
54
- name : Export GitHub Actions cache environment variables
You can’t perform that action at this time.
0 commit comments