mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-05-25 07:50:02 +00:00
fix windows conda run encoding in workflows
Enable UTF-8 for later conda run commands so anaconda-client version output does not fail under the Windows code page.
This commit is contained in:
2
.github/workflows/multi-platform-build.yml
vendored
2
.github/workflows/multi-platform-build.yml
vendored
@@ -121,6 +121,8 @@ jobs:
|
||||
mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y
|
||||
fi
|
||||
echo "CONDA_NO_PLUGINS=true" >> "$GITHUB_ENV"
|
||||
echo "PYTHONUTF8=1" >> "$GITHUB_ENV"
|
||||
echo "PYTHONIOENCODING=utf-8" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Show environment info
|
||||
if: steps.should_build.outputs.should_build == 'true'
|
||||
|
||||
2
.github/workflows/unilabos-conda-build.yml
vendored
2
.github/workflows/unilabos-conda-build.yml
vendored
@@ -114,6 +114,8 @@ jobs:
|
||||
mamba install -n build-env --override-channels -c conda-forge rattler-build anaconda-client -y
|
||||
fi
|
||||
echo "CONDA_NO_PLUGINS=true" >> "$GITHUB_ENV"
|
||||
echo "PYTHONUTF8=1" >> "$GITHUB_ENV"
|
||||
echo "PYTHONIOENCODING=utf-8" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Show environment info
|
||||
if: steps.should_build.outputs.should_build == 'true'
|
||||
|
||||
Reference in New Issue
Block a user