diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4c3f9994..4a681ed8 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -51,7 +51,9 @@ jobs: - name: Initialize Conda for Shell run: | - if [[ "${{ runner.os }}" != "Windows" ]]; then + if [[ "${{ runner.os }}" == "Windows" ]]; then + source C:\\Users\\runneradmin\\miniconda3\\etc\\profile.d\\conda.sh + else eval "$(conda shell.bash hook)" fi conda --version