Skip to content

Commit 3daf3bf

Browse files
authored
[Validations] do conda update before starting validations (#1643)
1 parent 6f3cb2b commit 3daf3bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ if [[ ${MATRIX_PACKAGE_TYPE} == "libtorch" ]]; then
22
curl ${MATRIX_INSTALLATION} -o libtorch.zip
33
unzip libtorch.zip
44
else
5+
6+
conda update -y -n base -c defaults conda
57
# Please note ffmpeg is required for torchaudio, see https://github.com/pytorch/pytorch/issues/96159
68
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION} numpy ffmpeg
79
conda activate ${ENV_NAME}

0 commit comments

Comments
 (0)