File tree 2 files changed +0
-13
lines changed 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 69
69
else
70
70
echo "CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml" >> $GITHUB_ENV
71
71
fi
72
-
73
72
- name : Cache conda
74
73
uses : actions/cache@v3
75
74
with :
Original file line number Diff line number Diff line change @@ -82,15 +82,12 @@ jobs:
82
82
83
83
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
84
84
85
- # This and the next few are based on https://github.com/conda-incubator/setup-miniconda#caching-environments
86
85
- name : Cache conda
87
- id : cache-conda
88
86
uses : actions/cache@v3
89
87
with :
90
88
path : ~/conda_pkgs_dir
91
89
key : ${{ runner.os }}-conda-py${{ matrix.python-version }}-${{
92
90
hashFiles('ci/requirements/**.yml') }}
93
-
94
91
- uses : conda-incubator/setup-miniconda@v2
95
92
with :
96
93
channels : conda-forge
@@ -101,18 +98,9 @@ jobs:
101
98
python-version : ${{ matrix.python-version }}
102
99
use-only-tar-bz2 : true
103
100
104
- - name : Cache conda env
105
- id : cache-env
106
- uses : actions/cache@v3
107
- with :
108
- path : /usr/share/miniconda/envs/xarray-tests
109
- key : ${{ runner.os }}-conda-py${{ matrix.python-version }}-${{
110
- hashFiles('ci/requirements/**.yml') }}
111
-
112
101
- name : Install conda dependencies
113
102
run : |
114
103
mamba env update -f $CONDA_ENV_FILE
115
- if : steps.cache-env.outputs.cache-hit != 'true'
116
104
117
105
# We only want to install this on one run, because otherwise we'll have
118
106
# duplicate annotations.
You can’t perform that action at this time.
0 commit comments