diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2023-04-01 18:43:53 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2023-04-01 18:43:53 +0200 |
commit | 438c4da8e418301e7a97bf63ff835db8b13ffbcf (patch) | |
tree | f68449c0c06ab00a8dc585c8be35902073a5bfb9 | |
parent | e119129957f5df90daeda4f5d426962b290d07a6 (diff) | |
download | python-lxml-438c4da8e418301e7a97bf63ff835db8b13ffbcf.tar.gz |
Split the library caches of the CI/wheel builds by OS since we have different downloads for Windows and others.
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | .github/workflows/wheels.yml | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a426416f..ca3561b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,7 +173,7 @@ jobs: libs/*.xz libs/*.gz libs/*.zip - key: libs-${{ env.LIBXML2_VERSION }}-${{ env.LIBXSLT_VERSION }}${{ matrix.extra_hash }} + key: libs-${{ runner.os }}-${{ env.LIBXML2_VERSION }}-${{ env.LIBXSLT_VERSION }}${{ matrix.extra_hash }} - name: Run CI continue-on-error: ${{ matrix.allowed_failure || false }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2f6b59a2..1d29ca9f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -176,13 +176,12 @@ jobs: - name: Cache [libs] uses: actions/cache@v3 - if: startsWith(runner.os, 'mac') with: path: | libs/*.xz libs/*.gz libs/*.zip - key: non-linux-libs + key: libs-${{ runner.os }} - name: Build wheels run: make sdist wheel |