From 4fe73f83e875fbddbc80cc73c9097aeeaacae792 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 28 Aug 2025 11:26:56 +0200 Subject: [PATCH] Update action.yml --- action.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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