File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,14 +116,16 @@ jobs:
116116 echo "CONDA_NO_PLUGINS=true" >> "$GITHUB_ENV"
117117 echo "PYTHONUTF8=1" >> "$GITHUB_ENV"
118118 echo "PYTHONIOENCODING=utf-8" >> "$GITHUB_ENV"
119+ # anaconda-client 1.13+ 的顶层 CLI 不再支持 --version,上传也需使用兼容入口。
120+ echo "ANACONDA_CLIENT_FORCE_STANDALONE=1" >> "$GITHUB_ENV"
119121
120122 - name : Show environment info
121123 if : steps.should_build.outputs.should_build == 'true'
122124 run : |
123125 conda info
124126 conda list -n build-env | grep -E "(rattler-build|anaconda-client)"
125127 conda run -n build-env rattler-build --version
126- conda run -n build-env anaconda --version
128+ conda run -n build-env python -m binstar_client.scripts.cli --version
127129 echo "Platform: ${{ matrix.platform }}"
128130 echo "OS: ${{ matrix.os }}"
129131 echo "Build full package: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.build_full == 'true' }}"
You can’t perform that action at this time.
0 commit comments