summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2023-04-01 18:43:53 +0200
committerStefan Behnel <stefan_ml@behnel.de>2023-04-01 18:43:53 +0200
commit438c4da8e418301e7a97bf63ff835db8b13ffbcf (patch)
treef68449c0c06ab00a8dc585c8be35902073a5bfb9
parente119129957f5df90daeda4f5d426962b290d07a6 (diff)
downloadpython-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.yml2
-rw-r--r--.github/workflows/wheels.yml3
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