[ci] Attempt to fix conda init
This commit is contained in:
2
.github/actions/create-conda-env/action.yml
vendored
2
.github/actions/create-conda-env/action.yml
vendored
@@ -5,6 +5,8 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Create conda environments
|
- name: Create conda environments
|
||||||
run: |
|
run: |
|
||||||
|
echo $(which conda)
|
||||||
|
conda init bash
|
||||||
if conda env list | grep -q "envs/${{ env.conda-env-name-no-time }}"; then
|
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 }}"
|
echo "Using pre-existing conda environments with prefix ${{ env.conda-env-name-no-time }}"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user