mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Fixup caching step of Github workflow. Correct path to environment.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user