diff --git a/.github/actions/binary-upload/action.yml b/.github/actions/binary-upload/action.yml index 2ee1621b71..9a64badd1a 100644 --- a/.github/actions/binary-upload/action.yml +++ b/.github/actions/binary-upload/action.yml @@ -29,7 +29,7 @@ runs: # shellcheck disable=SC1090 source "${BUILD_ENV_FILE}" - pip install awscli==1.32.18 + pip install awscli==1.37.0 yum install -y jq export AWS_ROLE_ARN="arn:aws:iam::749337293305:role/gha_workflow_nightly_build_wheels" @@ -43,5 +43,5 @@ runs: | jq -r '.value' > "${AWS_WEB_IDENTITY_TOKEN_FILE}" for pkg in dist/*; do - aws s3 cp "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read + aws s3 cp "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read --checksum-algorithm SHA256 done diff --git a/.github/workflows/_binary_upload.yml b/.github/workflows/_binary_upload.yml index 63dc5e304c..57dbe3ff69 100644 --- a/.github/workflows/_binary_upload.yml +++ b/.github/workflows/_binary_upload.yml @@ -109,7 +109,7 @@ jobs: # shellcheck disable=SC1090 source "${BUILD_ENV_FILE}" - pip install awscli==1.32.18 + pip install awscli==1.37.0 AWS_CMD="aws s3 cp --dryrun" if [[ "${NIGHTLY_OR_TEST:-0}" == "1" ]]; then @@ -117,7 +117,7 @@ jobs: fi for pkg in dist/*; do - ${AWS_CMD} "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read + ${AWS_CMD} "$pkg" "${PYTORCH_S3_BUCKET_PATH}" --acl public-read --checksum-algorithm SHA256 done - name: Upload package to pypi diff --git a/.github/workflows/update_disabled_tests.yml b/.github/workflows/update_disabled_tests.yml index 39803489d8..4575d6e9d7 100644 --- a/.github/workflows/update_disabled_tests.yml +++ b/.github/workflows/update_disabled_tests.yml @@ -110,7 +110,7 @@ jobs: - name: Upload files to s3 if: github.event_name != 'pull_request' run: | - python3 -mpip install awscli==1.27.69 + python3 -mpip install awscli==1.37.0 aws s3 cp disabled-tests-condensed.json s3://ossci-metrics/disabled-tests-condensed.json aws s3 cp disabled-jobs.json s3://ossci-metrics/disabled-jobs.json