File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change 6969 else
7070 echo "CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml" >> $GITHUB_ENV
7171 fi
72-
7372 - name : Cache conda
7473 uses : actions/cache@v3
7574 with :
Original file line number Diff line number Diff line change @@ -82,15 +82,12 @@ jobs:
8282
8383 echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
8484
85- # This and the next few are based on https://github.com/conda-incubator/setup-miniconda#caching-environments
8685 - name : Cache conda
87- id : cache-conda
8886 uses : actions/cache@v3
8987 with :
9088 path : ~/conda_pkgs_dir
9189 key : ${{ runner.os }}-conda-py${{ matrix.python-version }}-${{
9290 hashFiles('ci/requirements/**.yml') }}
93-
9491 - uses : conda-incubator/setup-miniconda@v2
9592 with :
9693 channels : conda-forge
@@ -101,18 +98,9 @@ jobs:
10198 python-version : ${{ matrix.python-version }}
10299 use-only-tar-bz2 : true
103100
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-
112101 - name : Install conda dependencies
113102 run : |
114103 mamba env update -f $CONDA_ENV_FILE
115- if : steps.cache-env.outputs.cache-hit != 'true'
116104
117105 # We only want to install this on one run, because otherwise we'll have
118106 # duplicate annotations.
You can’t perform that action at this time.
0 commit comments