File tree 1 file changed +13
-1
lines changed 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,24 @@ jobs:
27
27
- name : Checkout
28
28
uses : actions/checkout@v3
29
29
30
+ - name : Cache conda
31
+ uses : actions/cache@v2
32
+ env :
33
+ # Increase this value to reset cache if etc/example-environment.yml has not changed
34
+ CACHE_NUMBER : 0
35
+ with :
36
+ path : ~/conda_pkgs_dir
37
+ key :
38
+ ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{hashFiles('implementations/' + inputs.implementation + '/environment.yml') }}
39
+
30
40
- name : Setup miniconda
31
41
uses : conda-incubator/setup-miniconda@v1
32
42
with :
33
43
auto-update-conda : true
34
- channels : conda-forge,ome
44
+ channels : conda-forge,defaults
45
+ channel-priority : true
35
46
environment-file : implementations/${{ inputs.implementation }}/environment.yml
47
+ mamba-version : " *"
36
48
python-version : ${{ inputs.python-version }}
37
49
env :
38
50
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
You can’t perform that action at this time.
0 commit comments