File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,19 +36,20 @@ jobs:
36
36
uses : actions/cache@v2
37
37
with :
38
38
path : ~/conda_pkgs_dir # from: conda-incubator/setup-miniconda@v2
39
- key : ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
39
+ key : ${{ runner.os }}-conda-${{ matrix.python-version }}-${{ env.CACHE_NUMBER }}-${{
40
40
hashFiles('conda.yml') }}
41
41
42
42
- name : Cache pip
43
43
uses : actions/cache@v2
44
44
with :
45
45
path : ${{ matrix.pip_cache_path }}
46
- key : ${{ runner.os }}-pip--${{ env.CACHE_NUMBER }}-${{
46
+ key : ${{ runner.os }}-pip-${{ matrix.python-version }} -${{ env.CACHE_NUMBER }}-${{
47
47
hashFiles('requirements.txt') }}
48
48
49
49
- name : Conda environment setup
50
50
uses : conda-incubator/setup-miniconda@v2
51
51
with :
52
+ python-version : ${{ matrix.python-version }}
52
53
activate-environment : pytoda
53
54
environment-file : conda.yml
54
55
auto-activate-base : false
73
74
if : always()
74
75
with :
75
76
status : ${{ job.status }}
76
- text : " CI Build ${{ matrix.os }}"
77
+ text : " CI Build ${{ matrix.os }} Python ${{ matrix.python-version}} "
77
78
author_name : ${{ github.actor }}
78
79
env :
79
80
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments