Skip to content

Commit 449af86

Browse files
authored
Merge pull request #934 from NeurodataWithoutBorders/fix_mambaforge
2 parents d510990 + c77953c commit 449af86

File tree

6 files changed

+13
-25
lines changed

6 files changed

+13
-25
lines changed

.github/workflows/build_and_deploy_mac.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,14 @@ jobs:
2424
with:
2525
python-version: "3.10"
2626

27-
- name: Setup Mambaforge
27+
- name: Set up conda
2828
uses: conda-incubator/setup-miniconda@v3
2929
with:
30-
miniforge-variant: Mambaforge
3130
miniforge-version: latest
3231
activate-environment: nwb-guide
33-
use-mamba: true
3432

3533
- name: Create and activate environment
36-
run: mamba env update --name nwb-guide --file environments/environment-MAC-intel.yml
34+
run: conda env update --name nwb-guide --file environments/environment-MAC-intel.yml
3735

3836
- name: Use Node.js 20
3937
uses: actions/setup-node@v4

.github/workflows/testing_dev.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ jobs:
3737
- run: git fetch --prune --unshallow --tags
3838

3939
# see https://github.com/conda-incubator/setup-miniconda#caching-environments
40-
- name: Setup Mambaforge
40+
- name: Set up conda
4141
uses: conda-incubator/setup-miniconda@v3
4242
with:
43-
miniforge-variant: Mambaforge
4443
miniforge-version: latest
4544
activate-environment: nwb-guide
46-
use-mamba: true
4745

4846
- name: Set cache date
4947
id: get-date
@@ -59,7 +57,7 @@ jobs:
5957

6058
- if: steps.cache.outputs.cache-hit != 'true'
6159
name: Create and activate environment
62-
run: mamba env update --name nwb-guide --file ${{ matrix.label }}
60+
run: conda env update --name nwb-guide --file ${{ matrix.label }}
6361

6462
- name: Use Node.js 20
6563
uses: actions/setup-node@v4

.github/workflows/testing_dev_e2e_with_live_services.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ jobs:
3939
- run: git fetch --prune --unshallow --tags
4040

4141
# see https://github.com/conda-incubator/setup-miniconda#caching-environments
42-
- name: Setup Mambaforge
42+
- name: Set up conda
4343
uses: conda-incubator/setup-miniconda@v3
4444
with:
45-
miniforge-variant: Mambaforge
4645
miniforge-version: latest
4746
activate-environment: nwb-guide
48-
use-mamba: true
4947

5048
- name: Set cache date
5149
id: get-date
@@ -61,7 +59,7 @@ jobs:
6159

6260
- if: steps.cache.outputs.cache-hit != 'true'
6361
name: Create and activate environment
64-
run: mamba env update -n nwb-guide -f ${{ matrix.label }}
62+
run: conda env update -n nwb-guide -f ${{ matrix.label }}
6563

6664
- name: Use Node.js 20
6765
uses: actions/setup-node@v4

.github/workflows/testing_dev_with_live_services.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ jobs:
3737
- run: git fetch --prune --unshallow --tags
3838

3939
# see https://github.com/conda-incubator/setup-miniconda#caching-environments
40-
- name: Setup Mambaforge
40+
- name: Set up conda
4141
uses: conda-incubator/setup-miniconda@v3
4242
with:
43-
miniforge-variant: Mambaforge
4443
miniforge-version: latest
4544
activate-environment: nwb-guide
46-
use-mamba: true
4745

4846
- name: Set cache date
4947
id: get-date
@@ -59,7 +57,7 @@ jobs:
5957

6058
- if: steps.cache.outputs.cache-hit != 'true'
6159
name: Create and activate environment
62-
run: mamba env update -n nwb-guide -f ${{ matrix.label }}
60+
run: conda env update -n nwb-guide -f ${{ matrix.label }}
6361

6462
- name: Use Node.js 20
6563
uses: actions/setup-node@v4

.github/workflows/testing_flask_build_and_dist.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,18 @@ jobs:
3636
run: uname -m
3737

3838
# see https://github.com/conda-incubator/setup-miniconda#caching-environments
39-
- name: Setup Mambaforge
39+
- name: Set up conda
4040
uses: conda-incubator/setup-miniconda@v3
4141
with:
42-
miniforge-variant: Mambaforge
4342
miniforge-version: latest
4443
activate-environment: nwb-guide
45-
use-mamba: true
4644

4745
- name: Set cache date
4846
id: get-date
4947
run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
5048
shell: bash
5149

52-
- name: Cache Mamba env
50+
- name: Cache Conda env
5351
uses: actions/cache@v4
5452
with:
5553
path: ${{ env.CONDA }}/envs
@@ -61,7 +59,7 @@ jobs:
6159

6260
- if: steps.cache.outputs.cache-hit != 'true'
6361
name: Update environment
64-
run: mamba env update -f ${{ matrix.label }}
62+
run: conda env update -f ${{ matrix.label }}
6563

6664
- name: Setup Node.js 20
6765
uses: actions/setup-node@v4

.github/workflows/testing_pipelines.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ jobs:
3535
- run: git fetch --prune --unshallow --tags
3636

3737
# see https://github.com/conda-incubator/setup-miniconda#caching-environments
38-
- name: Setup Mambaforge
38+
- name: Set up conda
3939
uses: conda-incubator/setup-miniconda@v3
4040
with:
41-
miniforge-variant: Mambaforge
4241
miniforge-version: latest
4342
activate-environment: nwb-guide
44-
use-mamba: true
4543

4644
# Setup conda environment from cache
4745
- name: Set environment cache date
@@ -56,7 +54,7 @@ jobs:
5654
id: cache
5755
- if: steps.cache.outputs.cache-hit != 'true'
5856
name: Create and activate environment
59-
run: mamba env update --name nwb-guide --file ${{ matrix.label }}
57+
run: conda env update --name nwb-guide --file ${{ matrix.label }}
6058

6159
- name: Use Node.js 20
6260
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)