Skip to content

Commit

Permalink
generalize brew location detection in macos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 committed Apr 10, 2024
1 parent 4306a71 commit 6436865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Script
env:
XML_CATALOG_FILES: ${{ matrix.os == 'macos-14' && '/opt/homebrew/etc/xml/catalog' || '/usr/local/etc/xml/catalog' }}
XML_CATALOG_FILES: ${{ runner.arch == 'ARM64' && '/opt/homebrew/etc/xml/catalog' || '/usr/local/etc/xml/catalog' }}
run: |
source ${HOME}/Cache/qt-${{ matrix.QT_VERSION }}.env
sudo xcode-select --switch /Applications/Xcode_${{ matrix.XCODE_VERSION }}.app
Expand Down

0 comments on commit 6436865

Please sign in to comment.