pytorch
bf746798 - Fix for binary upload step, use bash shell rather then default sh (#86382)

Commit
3 years ago
Fix for binary upload step, use bash shell rather then default sh (#86382) This fixes the issue during upload: ``` Run # reference ends with an RC suffix # reference ends with an RC suffix if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then echo "UPLOAD_CHANNEL=test" >> "$GITHUB_ENV" fi shell: sh -e {0} /__w/_temp/f045f5d8-ddb.sh: 2: [[: not found ``` Test failure: https://github.com/pytorch/pytorch/actions/runs/3199561387/jobs/5225448559 Test success: https://github.com/pytorch/pytorch/actions/runs/3199573560/jobs/5225480345 Error started when we switched to: continuumio/miniconda3:4.12.0 Pull Request resolved: https://github.com/pytorch/pytorch/pull/86382 Approved by: https://github.com/weiwangmeta
Author
Committer
Parents
Loading