File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,16 @@ jobs:
32
32
id : get-date
33
33
run : echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
34
34
35
- # - name: Cache Conda env
36
- # uses: actions/cache@v3
37
- # with:
38
- # path: ~/conda_pkgs_dir
39
- # key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment-linux.yaml') }}
40
- # id: cache
35
+ - name : Cache Conda env
36
+ uses : actions/cache@v3
37
+ env :
38
+ # Increase this value to reset cache
39
+ # if etc/example-environment.yml has not changed.
40
+ CACHE_NUMBER : 0
41
+ with :
42
+ path : ~/conda_pkgs_dir
43
+ key : ${{ runner.os }}-python-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment-linux.yaml') }}
44
+ id : cache
41
45
42
46
- name : Update environment
43
47
run : |
You can’t perform that action at this time.
0 commit comments