From ad10a255cb273e1348d9a5a5ae620d784c9167e4 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Thu, 24 Oct 2024 00:27:04 +0800 Subject: [PATCH] ci: speedup --- .github/workflows/_build_wheels.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/_build_wheels.yaml b/.github/workflows/_build_wheels.yaml index 8351db9..5fe7416 100644 --- a/.github/workflows/_build_wheels.yaml +++ b/.github/workflows/_build_wheels.yaml @@ -24,6 +24,18 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Restore cached Primes + id: cache + uses: actions/cache@v4 + with: + path: | + ~\AppData\Local\pypa\cibuildwheel\Cache + ~/Library/Caches/cibuildwheel + ~/.cache/cibuildwheel + key: 'cibuildwheel-${{ runner.os }}-${{ matrix.cibw_arch }}-${{ matrix.cibw_build }}' + restore-keys: | + cibuildwheel-${{ runner.os }}-${{ matrix.cibw_arch }} + - uses: pypa/cibuildwheel@v2.21.3 env: CIBW_BUILD_VERBOSITY: 1