fix conda plugin timing in windows workflows

Set CONDA_NO_PLUGINS only after mamba installs anaconda-client so setup-miniconda can initialize normally while later conda commands avoid the anaconda-auth plugin crash.
This commit is contained in:
Xuwznln
2026-05-25 01:37:12 +08:00
parent 6fcc87ed06
commit 0403095c5b
2 changed files with 2 additions and 4 deletions

View File

@@ -74,8 +74,6 @@ jobs:
env_file: unilabos-win64.yaml
runs-on: ${{ matrix.os }}
env:
CONDA_NO_PLUGINS: "true"
defaults:
run:
@@ -122,6 +120,7 @@ jobs:
else
mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y
fi
echo "CONDA_NO_PLUGINS=true" >> "$GITHUB_ENV"
- name: Show environment info
if: steps.should_build.outputs.should_build == 'true'

View File

@@ -67,8 +67,6 @@ jobs:
platform: win-64
runs-on: ${{ matrix.os }}
env:
CONDA_NO_PLUGINS: "true"
defaults:
run:
@@ -115,6 +113,7 @@ jobs:
else
mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y
fi
echo "CONDA_NO_PLUGINS=true" >> "$GITHUB_ENV"
- name: Show environment info
if: steps.should_build.outputs.should_build == 'true'