Skip to content

Commit

Permalink
[Condalock] make sure mamba/conda are at latest version by forcing a …
Browse files Browse the repository at this point in the history
…pinned mamba install (#2136)
  • Loading branch information
valeriupredoi authored Jul 19, 2023
1 parent 9b7a4ed commit 4c2578b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/create-condalock-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,24 @@ jobs:
miniforge-version: "latest"
miniforge-variant: Mambaforge
use-mamba: true
- name: Show conda config
- name: Update and show conda config
run: |
conda update -n base -c conda-forge conda
conda info
conda list
conda config --show-sources
conda config --show
# setup-miniconda@v2 installs an old conda and mamba
# forcing a modern mamba updates both mamba and conda
conda install -c conda-forge "mamba>=1.4.8"
conda --version
mamba --version
- name: Gather Python info
run: |
which python
python --version
- name: Install conda-lock
run: mamba install -y conda-lock
run: mamba install -y -c conda-forge conda-lock
- name: Check version of conda-lock
run: conda-lock --version
- name: Create conda lock file for linux-64
Expand Down

0 comments on commit 4c2578b

Please sign in to comment.