Fixup caching step of Github workflow. Correct path to environment.yml

This commit is contained in:
Debanjum Singh Solanky 2021-10-03 01:38:37 -07:00
parent faebde41d2
commit 0082631f16

View file

@ -21,13 +21,13 @@ jobs:
- name: Cache conda - name: Cache conda
uses: actions/cache@v2 uses: actions/cache@v2
env: env:
# Increase this value to reset cache if etc/example-environment.yml has not changed # Increase this value to reset cache if environment.yml has not changed
CACHE_NUMBER: 0 CACHE_NUMBER: 0
with: with:
path: ~/conda_pkgs_dir path: ~/conda_pkgs_dir
key: key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('etc/example-environment.yml') }} hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2 - uses: conda-incubator/setup-miniconda@v2
with: with:
activate-environment: test activate-environment: test