Skip to content

Commit 35346a7

Browse files
brew remove unxip on OSX-ARM exclusively
fix for the osx dependency issue
1 parent 94a59b8 commit 35346a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ jobs:
310310
run: |
311311
brew update
312312
brew remove [email protected]
313-
brew remove unxip
313+
export ARCHITECHURE=$(uname -m)
314+
if [[ "$ARCHITECHURE" != "x86_64" ]]; then
315+
brew remove unxip
316+
fi
314317
# workaround for https://github.com/actions/setup-python/issues/577
315318
for pkg in $(brew list | grep '^python@'); do
316319
brew unlink "$pkg"
@@ -764,10 +767,11 @@ jobs:
764767
run: |
765768
brew update
766769
brew remove [email protected]
767-
brew remove unxip
768770
export ARCHITECHURE=$(uname -m)
769771
if [[ "$ARCHITECHURE" == "x86_64" ]]; then
770772
brew remove swiftlint
773+
else
774+
brew remove unxip
771775
fi
772776
# workaround for https://github.com/actions/setup-python/issues/577
773777
for pkg in $(brew list | grep '^python@'); do

0 commit comments

Comments
 (0)