Skip to content

Commit 3657868

Browse files
authored
Don't remove ruby on osx arm (needed for osx 15 ci change)
1 parent 550718f commit 3657868

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,11 @@ jobs:
345345
if: ${{ runner.os == 'macOS' && steps.cache.outputs.cache-hit != 'true' }}
346346
run: |
347347
brew update
348-
brew remove [email protected]
349348
export ARCHITECHURE=$(uname -m)
350349
if [[ "$ARCHITECHURE" != "x86_64" ]]; then
351350
brew remove unxip
351+
else
352+
brew remove [email protected]
352353
fi
353354
# workaround for https://github.com/actions/setup-python/issues/577
354355
for pkg in $(brew list | grep '^python@'); do
@@ -813,9 +814,9 @@ jobs:
813814
if: runner.os == 'macOS'
814815
run: |
815816
brew update --force
816-
brew remove [email protected]
817817
export ARCHITECHURE=$(uname -m)
818818
if [[ "$ARCHITECHURE" == "x86_64" ]]; then
819+
brew remove [email protected]
819820
brew remove swiftlint
820821
else
821822
brew remove unxip

0 commit comments

Comments
 (0)