aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-11-11 21:34:39 +0100
committerGravatar kwzrd <[email protected]>2020-11-11 21:35:04 +0100
commit36bffe9653b33c64aea21c5c31471f69d290ed37 (patch)
tree003a575e099f63e4e43901eebc467cee679a3cfe
parentMerge pull request #1273 from python-discord/sebastiaan/bugs/codeblock-langua... (diff)
CI: invalidate dependency cache
The cache became corrupted for reasons what we were not able to figure out, causing the pre-commit step to fail when the environment was retrieved from the cache. By changing the key, we force cache rebuild.
-rw-r--r--azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 9f58e38c8..991b1f447 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -34,7 +34,7 @@ jobs:
- task: Cache@2
displayName: 'Restore Python environment'
inputs:
- key: python | $(Agent.OS) | "$(python.pythonLocation)" | 0 | ./Pipfile | ./Pipfile.lock
+ key: python | $(Agent.OS) | "$(python.pythonLocation)" | 1 | ./Pipfile | ./Pipfile.lock
cacheHitVar: PY_ENV_RESTORED
path: $(PYTHONUSERBASE)
continueOnError: true