summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-07-17 00:21:56 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-07-17 00:21:56 +0200
commitf26d6be6385034e9ccfcb8ced5764dec8369326a (patch)
treeae3ef4b2af1efada21b9992f40ff77501d6aa2d6
parent88778d57b6e12d7d36ca9e5b03b20597ae9928ae (diff)
downloadpython-lxml-f26d6be6385034e9ccfcb8ced5764dec8369326a.tar.gz
Fix CI uploads and ccache key.
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 69a279f1..07844340 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -103,7 +103,7 @@ jobs:
if: startsWith(runner.os, 'Linux')
with:
path: ~/.ccache
- key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt', '.github/**/ci.yml', '**/ci-run.sh') }}
+ key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ hashFiles('.github/workflows/ci.yml', 'tools/ci-run.sh') }}
- name: Run CI
continue-on-error: ${{ matrix.allowed_failure || false }}
@@ -116,7 +116,7 @@ jobs:
- name: Upload docs
uses: actions/upload-artifact@v2
- if: contains( env.EXTRA_DEPS, 'sphinx')
+ if: ${{ matrix.extra_hash == '-docs' }}
with:
name: website_html
path: doc/html