Skip to content

Commit

Permalink
Change cache step name (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed May 6, 2022
1 parent fcb2914 commit 0ff9d8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:
with:
path: /usr/share/miniconda3/envs/tardis
key: conda-linux-64-${{ hashFiles('conda-linux-64.lock') }}-${{ env.CACHE_NUMBER }}
id: cache-env
id: cache-conda

- name: Update environment
run: mamba update -n tardis --file conda-linux-64.lock
if: steps.cache-env.outputs.cache-hit != 'true'
if: steps.cache-conda.outputs.cache-hit != 'true'

- name: Install package
run: pip install -e .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
with:
path: ${{ matrix.prefix }}
key: conda-${{ matrix.label }}-${{ hashFiles('conda-${{ matrix.label }}.lock') }}-${{ env.CACHE_NUMBER }}
id: cache-env
id: cache-conda

- name: Update environment
run: mamba update -n tardis --file conda-${{ matrix.label }}.lock
if: steps.cache-env.outputs.cache-hit != 'true'
if: steps.cache-conda.outputs.cache-hit != 'true'

- name: Install package
run: pip install -e .
Expand Down

0 comments on commit 0ff9d8d

Please sign in to comment.