Skip to content

Commit 3ad4be0

Browse files
authored
Uninstall arm64 homebrew
1 parent 00821b2 commit 3ad4be0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ jobs:
132132
steps:
133133
- name: Checkout
134134
uses: actions/checkout@v4
135+
- name: Uninstall arm64 Homebrew
136+
if: runner.environment == 'github-hosted'
137+
run: |
138+
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
139+
rm -rf /opt/homebrew || true
135140
- name: Set up x86_64 Homebrew
136141
if: runner.environment == 'github-hosted'
137142
run: |
@@ -192,3 +197,4 @@ jobs:
192197
bin/openocd-*-lin.tar.gz
193198
bin/riscv-toolchain-*-lin.tar.gz
194199
200+

0 commit comments

Comments
 (0)