We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 012b7c6 commit dae0a03Copy full SHA for dae0a03
ci/azure/windows.yml
@@ -43,10 +43,19 @@ jobs:
43
displayName: 'Add conda to PATH'
44
- script: conda update -q -n base conda
45
displayName: 'Update conda'
46
-
+ - task: Cache@2
47
+ displayName: Use cached Anaconda environment
48
+ inputs:
49
+ key: 'conda | "$(Agent.OS)" | "$(ENV_FILE)"'
50
+ restoreKeys: |
51
+ python | "$(Agent.OS)"
52
+ python
53
+ path: $(CONDA_CACHE_DIR)
54
+ cacheHitVar: CONDA_CACHE_RESTORED
55
- bash: |
56
conda env create -q --file ci\\deps\\azure-windows-$(CONDA_PY).yaml
57
displayName: 'Create anaconda environment'
58
+ condition: eq(variables.CONDA_CACHE_RESTORED, 'false')
59
60
source activate pandas-dev
61
conda list
0 commit comments