Skip to content

Commit

Permalink
Don't uninstall homebrew on self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Jan 17, 2025
1 parent bf1ca7d commit f969871
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,12 @@ jobs:
run: brew uninstall $(brew list)

- name: brew list
if: env.runner == 'macos-11' || env.runner == 'macos-12' || env.runner == 'macos-13' || env.runner == 'macos-14'
shell: bash
run: brew list

- name: Uninstall homebrew
if: env.runner == 'macos-11' || env.runner == 'macos-12' || env.runner == 'macos-13' || env.runner == 'macos-14'
shell: bash
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

Expand Down Expand Up @@ -349,6 +351,11 @@ jobs:
sudo make install
sudo rm -rf *
- name: which gh
shell: bash
run: which gh


- name: Download pkgconf
shell: bash
working-directory: downloads
Expand Down

0 comments on commit f969871

Please sign in to comment.