Do not use shell when installing Rosetta 2

This commit is contained in:
halprin 2024-12-15 18:47:03 -07:00
parent cb3aedce3c
commit fd8909296a
No known key found for this signature in database
GPG Key ID: 13654EE1A3F4E6CD

View File

@ -62,7 +62,13 @@ jobs:
with:
submodules: recursive
- name: Install macOS Rosetta 2 and Brew
- name: Install macOS Rosetta 2
if: ${{ matrix.os.name == 'macOS-Intel' }}
run: |
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
echo "MACOS_ARCH_COMMAND=arch -x86_64" >> $GITHUB_ENV
- name: Install Intel version of Brew
if: ${{ matrix.os.name == 'macOS-Intel' }}
shell: arch -x86_64 /bin/bash -e {0}
run: |