mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-05-25 07:50:02 +00:00
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:
3
.github/workflows/multi-platform-build.yml
vendored
3
.github/workflows/multi-platform-build.yml
vendored
@@ -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'
|
||||
|
||||
3
.github/workflows/unilabos-conda-build.yml
vendored
3
.github/workflows/unilabos-conda-build.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user