[ci] Attempt to fix conda init

This commit is contained in:
Hansung Kim
2023-10-04 18:20:26 -07:00
parent e67537d689
commit 994e46f7c4

View File

@@ -5,6 +5,8 @@ runs:
steps:
- name: Create conda environments
run: |
echo $(which conda)
conda init bash
if conda env list | grep -q "envs/${{ env.conda-env-name-no-time }}"; then
echo "Using pre-existing conda environments with prefix ${{ env.conda-env-name-no-time }}"
else