We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 835b247 + 62653a3 commit 96cfb49Copy full SHA for 96cfb49
etc/ci/azure-win.yml
@@ -5,6 +5,9 @@ parameters:
5
test_suites: {}
6
python_architecture: x64
7
8
+variables:
9
+ PIP_CACHE_DIR: $(Pipeline.Workspace)/.pip
10
+
11
jobs:
12
- job: ${{ parameters.job_name }}
13
@@ -29,6 +32,14 @@ jobs:
29
32
architecture: '${{ parameters.python_architecture }}'
30
33
displayName: '${{ pyver }} - Install Python'
31
34
35
+ - task: Cache@2
36
+ inputs:
37
+ key: 'pip | "$(Agent.OS)" | requirements.txt'
38
+ restoreKeys: |
39
+ 'pip | "$(Agent.OS)"'
40
+ path: $(PIP_CACHE_DIR)
41
+ displayName: Cache pip downloaded packages
42
43
- script: |
44
python --version
45
echo | set /p=python> PYTHON_EXECUTABLE
0 commit comments