Skip to content

Commit da09669

Browse files
authored
Revert "Attempt to improve CI caching (#6534)"
This reverts commit 8cf9e57.
1 parent 61e966c commit da09669

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

.github/workflows/ci-additional.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
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:

.github/workflows/ci.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)