diff --git a/action.yml b/action.yml index 33bf7fa..45fb387 100644 --- a/action.yml +++ b/action.yml @@ -164,13 +164,14 @@ runs: conda) echo "3 - Setting up conda environment..." - curl -fsSL https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda >> $LOG_FILE 2>&1 - export PATH="$HOME/miniconda/bin:$PATH" - source "$HOME/miniconda/etc/profile.d/conda.sh" + + curl -fsSL https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -o mambaforge.sh + bash mambaforge.sh -b -p $HOME/mambaforge >> $LOG_FILE 2>&1 + export PATH="$HOME/mambaforge/bin:$PATH" + source "$HOME/mambaforge/etc/profile.d/conda.sh" if [ -f "environment.yml" ]; then - conda env create -f environment.yml >> $LOG_FILE 2>&1 || exit 1 + mamba env create -f environment.yml >> $LOG_FILE 2>&1 || exit 1 conda activate slic || true echo "📋 Conda environment details:" >> "$VERSIONS_FILE" conda list >> "$VERSIONS_FILE" 2>&1