Skip to content

Commit 2d64fb1

Browse files
committed
ci(macos): uninstall existing cmake before install
1 parent ed7f22d commit 2d64fb1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/CI-macOS.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Install dependencies
24-
run: brew update && brew install cmake
24+
run: |
25+
brew update
26+
brew uninstall --ignore-dependencies cmake || true
27+
brew install cmake
2528
- name: Configure
2629
run: cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_CXX_STANDARD=${{ matrix.std }}
2730
- name: Build

0 commit comments

Comments
 (0)