File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 8
8
required : false
9
9
default : ' cookbook-dev'
10
10
type : string
11
- environment_file : # Ignored! Just here for backwards compatibility
11
+ environment_file :
12
12
description : ' Name of conda environment file'
13
13
required : false
14
14
default : ' environment.yml'
@@ -42,14 +42,19 @@ jobs:
42
42
shell : bash -l {0}
43
43
steps :
44
44
- uses : actions/checkout@v4
45
-
46
- - name : Setup Miniforge
47
- uses : conda-incubator /setup-miniconda@v3
45
+
46
+ - name : Setup environment with micromamba
47
+ uses : mamba-org /setup-micromamba@v2
48
48
with :
49
- miniforge-version : latest
49
+ environment-file : ${{ inputs.environment_file }}
50
+
51
+ # - name: Setup Miniforge
52
+ # uses: conda-incubator/setup-miniconda@v3
53
+ # with:
54
+ # miniforge-version: latest
50
55
51
- - name : Install Jupyterbook
52
- run : conda install -c conda-forge jupyter-book "python<3.13" # see https://github.com/ProjectPythia/cookbook-actions/issues/126
56
+ # - name: Install Jupyterbook
57
+ # run: conda install -c conda-forge jupyter-book "python<3.13" # see https://github.com/ProjectPythia/cookbook-actions/issues/126
53
58
54
59
- name : Check for config file
55
60
id : check_config
You can’t perform that action at this time.
0 commit comments