Skip to content

Commit e777653

Browse files
committed
properly handle existing cmake version
1 parent 3265cb1 commit e777653

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ jobs:
2323
VERSION=${GITHUB_REF#refs/tags/}
2424
echo "VERSION=$VERSION" >> $GITHUB_ENV
2525
26+
- name: Fix cmake tap conflict
27+
run: |
28+
# Uninstall any existing cmake (from pinned/local tap)
29+
brew uninstall --ignore-dependencies cmake || true
30+
31+
# Install cmake from homebrew/core
32+
brew install cmake
33+
34+
# Verify installation
35+
cmake --version
36+
2637
- name: Create Build Environment
2738
run: cmake -E make_directory ${{github.workspace}}/build
2839

0 commit comments

Comments
 (0)