File tree 2 files changed +12
-15
lines changed
2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -186,15 +186,15 @@ jobs:
186
186
fi
187
187
188
188
- name : Update README
189
- if : ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
189
+ if : ${{ steps.diff.outputs.diff == 'true' }}
190
190
run : python .github/compat/update_compat_table.py ".github/compat/compat.md" "README.md"
191
191
192
192
- name : Print README diff
193
- if : ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
193
+ if : ${{ steps.diff.outputs.diff == 'true' }}
194
194
run : git diff README.md
195
195
196
196
- name : Create pull request
197
- if : ${{ steps.diff.outputs.diff == 'true' && github.event_name == 'push' }}
197
+ if : ${{ steps.diff.outputs.diff == 'true' }}
198
198
env :
199
199
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
200
200
run : |
Original file line number Diff line number Diff line change @@ -46,18 +46,15 @@ install_gcc_brew()
46
46
brew link gcc@${version}
47
47
48
48
os_ver=$( sw_vers -productVersion | cut -d' .' -f1)
49
- # brew link doesn't create aliases without version numbers before gcc 13
50
- if (( "$version " < 13 )) ; then
51
- # default homebrew bin dir changed with macos 14
52
- if (( "$os_ver " > 13 )) ; then
53
- ln -fs /opt/homebrew/bin/gfortran-${version} /usr/local/bin/gfortran
54
- ln -fs /opt/homebrew/bin/gcc-${version} /usr/local/bin/gcc
55
- ln -fs /opt/homebrew/bin/g++-${version} /usr/local/bin/g++
56
- else
57
- ln -fs /usr/local/bin/gfortran-${version} /usr/local/bin/gfortran
58
- ln -fs /usr/local/bin/gcc-${version} /usr/local/bin/gcc
59
- ln -fs /usr/local/bin/g++-${version} /usr/local/bin/g++
60
- fi
49
+ # default homebrew bin dir changed with macos 14
50
+ if (( "$os_ver " > 13 )) ; then
51
+ ln -fs /opt/homebrew/bin/gfortran-${version} /usr/local/bin/gfortran
52
+ ln -fs /opt/homebrew/bin/gcc-${version} /usr/local/bin/gcc
53
+ ln -fs /opt/homebrew/bin/g++-${version} /usr/local/bin/g++
54
+ else
55
+ ln -fs /usr/local/bin/gfortran-${version} /usr/local/bin/gfortran
56
+ ln -fs /usr/local/bin/gcc-${version} /usr/local/bin/gcc
57
+ ln -fs /usr/local/bin/g++-${version} /usr/local/bin/g++
61
58
fi
62
59
}
63
60
You can’t perform that action at this time.
0 commit comments