Skip to content

Commit 01b8a60

Browse files
committed
fix dist workflow
1 parent 219c2d7 commit 01b8a60

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/dist-python.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ jobs:
8080
if: runner.os == 'macOS'
8181
run: brew install pkg-config
8282

83+
- name: Install CMake 3 on MacOS
84+
# libbson requires cmake 3, and cmake 4 is now the default on the GHA runners.
85+
if: ${{ startsWith(runner.os, 'macOS') }}
86+
run: |
87+
pipx install "cmake>=3.15,<4"
88+
8389
- name: Install deps
8490
run: python -m pip install "cibuildwheel>=2.4,<3" uv rust-just
8591

@@ -108,7 +114,7 @@ jobs:
108114

109115
make_sdist:
110116
name: Make SDist
111-
runs-on: macos-latest
117+
runs-on: ubuntu-latest
112118
steps:
113119
- uses: actions/checkout@v5
114120
with:

0 commit comments

Comments
 (0)