Skip to content

Commit 871c3c9

Browse files
committed
chore(cd): re-enable sccache for maturin
<PyO3/maturin-action#348> is now fixed This reverts commit f0a2dc6.
1 parent 76d3e81 commit 871c3c9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ jobs:
257257
working-directory: pypi
258258
target: ${{ matrix.build.TARGET }}
259259
args: --release --sdist --out wheels
260-
# https://github.com/PyO3/maturin-action/issues/348
261-
sccache: "false"
260+
sccache: "true"
262261
# https://github.com/PyO3/maturin-action/issues/245
263262
manylinux: ${{ matrix.build.TARGET == 'aarch64-unknown-linux-gnu' && '2_28' || 'auto' }}
264263
- name: Build Python wheels (macos & windows)
@@ -270,17 +269,15 @@ jobs:
270269
working-directory: pypi
271270
target: ${{ matrix.build.TARGET }}
272271
args: --release --sdist --out wheels
273-
# https://github.com/PyO3/maturin-action/issues/348
274-
sccache: "false"
272+
sccache: "true"
275273
- name: Build Python wheels (musl)
276274
if: matrix.build.PYPI_PUBLISH == true && endsWith(matrix.build.OS, 'musl')
277275
uses: PyO3/maturin-action@v1
278276
with:
279277
working-directory: pypi
280278
target: ${{ matrix.build.TARGET }}
281279
args: --release --sdist --out wheels
282-
# https://github.com/PyO3/maturin-action/issues/348
283-
sccache: "false"
280+
sccache: "true"
284281
manylinux: musllinux_1_2
285282
- name: Upload Python wheels
286283
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)