27
27
echo "date=$(/bin/date -u "+%Y%V")" >> $GITHUB_OUTPUT
28
28
shell : bash
29
29
30
- - name : Cache Mambaforge and Pip packages
30
+ - name : Cache Miniforge and Pip packages
31
31
uses : actions/cache@v4
32
32
env :
33
33
CACHE_NUMBER : 0
@@ -38,35 +38,34 @@ jobs:
38
38
key :
39
39
${{runner.os}}-condapkg-${{env.CACHE_NUMBER}}-${{steps.get-date.outputs.date}}-${{hashFiles('environment-dev.yml','conda/meta.yaml')}}
40
40
41
- - name : Cache Mambaforge environment
41
+ - name : Cache Miniforge environment
42
42
uses : actions/cache@v4
43
- id : cache-mambaforge -environment
43
+ id : cache-miniforge -environment
44
44
env :
45
45
CACHE_NUMBER : 0
46
46
with :
47
47
path : ${CONDA}/envs/mantidimaging-dev.cache
48
48
key :
49
49
${{runner.os}}-condaenv-${{env.CACHE_NUMBER}}-${{steps.get-date.outputs.date}}-${{hashFiles('environment-dev.yml','conda/meta.yaml')}}
50
50
51
- - name : Setup Mambaforge
51
+ - name : Setup Miniforge
52
52
uses : conda-incubator/setup-miniconda@v3
53
53
with :
54
54
miniforge-version : latest
55
- miniforge-variant : Mambaforge
56
55
activate-environment : mantidimaging-dev
57
56
auto-activate-base : false
58
57
use-mamba : true
59
58
60
59
- name : Mantid Imaging developer dependencies
61
- if : steps.cache-mambaforge -environment.outputs.cache-hit != 'true'
60
+ if : steps.cache-miniforge -environment.outputs.cache-hit != 'true'
62
61
shell : bash -l {0}
63
62
run : |
64
63
conda deactivate
65
64
python3 ./setup.py create_dev_env
66
65
cp -Ta ${CONDA}/envs/mantidimaging-dev ${CONDA}/envs/mantidimaging-dev.cache
67
66
68
67
- name : Mantid Imaging developer dependencies - from cache
69
- if : steps.cache-mambaforge -environment.outputs.cache-hit == 'true'
68
+ if : steps.cache-miniforge -environment.outputs.cache-hit == 'true'
70
69
shell : bash -l {0}
71
70
run : |
72
71
cp -Ta ${CONDA}/envs/mantidimaging-dev.cache ${CONDA}/envs/mantidimaging-dev
0 commit comments