Skip to content

Commit 9e3bebb

Browse files
committed
Use micromamba to install full environment
1 parent c01e3fd commit 9e3bebb

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/link-checker.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: false
99
default: 'cookbook-dev'
1010
type: string
11-
environment_file: # Ignored! Just here for backwards compatibility
11+
environment_file:
1212
description: 'Name of conda environment file'
1313
required: false
1414
default: 'environment.yml'
@@ -42,14 +42,19 @@ jobs:
4242
shell: bash -l {0}
4343
steps:
4444
- 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
4848
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
5055

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
5358

5459
- name: Check for config file
5560
id: check_config

0 commit comments

Comments
 (0)