This repository was archived by the owner on May 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,29 @@ jobs:
20
20
echo CONDA_ENV_PATH=$CONDA/envs/${{ env.CONDA_ENV }} >>$GITHUB_ENV
21
21
22
22
- name : Restore Conda env cache
23
- id : conda-cache
24
- uses : actions/cache@v3
23
+ id : restore- conda-cache
24
+ uses : actions/cache/restore @v3
25
25
with :
26
26
path : |
27
27
${{ env.CONDA_ENV_PATH }}
28
- key : ${{ env.RUN_STAMP }}-conda-${{ hashFiles('omniscidb/scripts/mapd-deps-conda-dev-env.yml') }}-${{ env.DATE }}
28
+ key : ${{ env.RUN_STAMP }}-conda-pytest- ${{ hashFiles('omniscidb/scripts/mapd-deps-conda-dev-env.yml') }}-${{ env.DATE }}
29
29
restore-keys : |
30
- ${{ env.RUN_STAMP }}-conda-${{ hashFiles('omniscidb/scripts/mapd-deps-conda-dev-env.yml') }}-
30
+ ${{ env.RUN_STAMP }}-conda-pytest- ${{ hashFiles('omniscidb/scripts/mapd-deps-conda-dev-env.yml') }}-
31
31
32
32
- name : Update Conda env
33
33
if : steps.conda-cache.cache-hit != 'true'
34
34
run : |
35
35
conda update conda
36
36
conda env update -f omniscidb/scripts/mapd-deps-conda-dev-env.yml
37
37
38
+ - name : Save Conda env cache
39
+ id : save-conda-cache
40
+ uses : actions/cache/save@v3
41
+ with :
42
+ path : |
43
+ ${{ env.CONDA_ENV_PATH }}
44
+ key : ${{ env.RUN_STAMP }}-conda-pytest-${{ hashFiles('omniscidb/scripts/mapd-deps-conda-dev-env.yml') }}-${{ env.DATE }}
45
+
38
46
- name : Restore Maven cache
39
47
uses : actions/cache@v3
40
48
with :
You can’t perform that action at this time.
0 commit comments