leave Homebrew in place

This commit is contained in:
Jay Lee
2022-10-06 22:47:35 +00:00
parent c05a1ea6b4
commit 8843675ad4

View File

@@ -84,7 +84,7 @@ jobs:
with: with:
path: | path: |
bin.tar.xz bin.tar.xz
key: gam-${{ matrix.jid }}-20220926 key: gam-${{ matrix.jid }}-20221006
- name: Untar Cache archive - name: Untar Cache archive
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true' if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
@@ -125,11 +125,11 @@ jobs:
sudo apt-get -qq --yes update sudo apt-get -qq --yes update
sudo apt-get -qq --yes install swig libpcsclite-dev sudo apt-get -qq --yes install swig libpcsclite-dev
- name: MacOS remove Homebrew #- name: MacOS remove Homebrew
if: runner.os == 'macOS' # if: runner.os == 'macOS'
run: | # run: |
# remove everything except the libraries needed by yubikey-manager # # remove everything except the libraries needed by yubikey-manager
brew uninstall $(brew list | grep -v 'pcre\|swig\|pcsc-lite') # brew uninstall $(brew list | grep -v 'pcre\|swig\|pcsc-lite')
- name: MacOS install tools - name: MacOS install tools
if: runner.os == 'macOS' if: runner.os == 'macOS'