File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,13 @@ jobs:
38
38
apt update
39
39
apt-get update --yes && apt-get upgrade --yes
40
40
apt-get install --yes git wget
41
- # download and install miniforge
41
+ # install miniforge (https://github.com/conda-forge/miniforge?tab=readme-ov-file#as-part-of-a-ci-pipeline)
42
42
mkdir -p ${HOME}/tools
43
43
cd ${HOME}/tools
44
- wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
45
- bash Miniforge3-Linux-x86_64.sh -b -p ${HOME}/tools/miniforge
46
- ${HOME}/tools/miniforge/bin/mamba init bash
44
+ wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
45
+ bash Miniforge3.sh -b -p ${HOME}/tools/miniforge
46
+ source "${HOME}/tools/miniforge/etc/profile.d/conda.sh"
47
+ source "${HOME}/tools/miniforge/etc/profile.d/mamba.sh"
47
48
# modify/export env var PATH to BASH_ENV to be shared across run steps
48
49
echo 'export PATH=${CONDA_PREFIX}/bin:${PATH}' >> ${BASH_ENV}
49
50
You can’t perform that action at this time.
0 commit comments