From 10f81456b6c5b2d23829c33d87cfe3f77e97e1f1 Mon Sep 17 00:00:00 2001 From: "Sun, Xuehao" Date: Tue, 18 Jun 2024 11:18:14 +0800 Subject: [PATCH] fix conda Signed-off-by: Sun, Xuehao --- .github/workflows/script/prepare_env_with_conda.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/script/prepare_env_with_conda.sh b/.github/workflows/script/prepare_env_with_conda.sh index b6622a08837..97cba5a2e10 100644 --- a/.github/workflows/script/prepare_env_with_conda.sh +++ b/.github/workflows/script/prepare_env_with_conda.sh @@ -6,6 +6,7 @@ if [[ -z "${conda_env_name}" ]] || [[ -z "${python_version}" ]]; then exit 1 fi +source ~/.bashrc conda create -n ${conda_env_name} python=${python_version} -y source activate ${conda_env_name} || conda activate ${conda_env_name} #pip install -U pip