Overwrite PATH for future steps when running as macOS Intel

This commit is contained in:
halprin 2024-12-15 19:18:11 -07:00
parent c049d35725
commit c7f48142c6
No known key found for this signature in database
GPG Key ID: 13654EE1A3F4E6CD

View File

@ -82,8 +82,13 @@ jobs:
if: ${{ matrix.os.preset == 'mac' && matrix.os.name == 'macOS-Intel' }}
shell: arch -x86_64 /bin/bash -e {0}
run: |
which brew
echo $PATH
eval "$(/usr/local/bin/brew shellenv)"
/usr/local/bin/brew bundle install
which brew
echo $PATH
echo "PATH=$PATH" >> $GITHUB_ENV # modify $PATH for future steps so the Intel Brew and its installs are enshrined as the default
brew bundle install
file /usr/local/bin/cmake
- name: Install Linux dependencies