[CI] Fix continuous delivery pipeline for MacOS (#7472)

This commit is contained in:
Philip Hyunsu Cho 2021-11-23 06:22:08 -08:00 committed by GitHub
parent b124a27f57
commit 96a9848c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ jobs:
shell: bash -l {0} shell: bash -l {0}
if: | if: |
(github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) && (github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) &&
matrix.os == 'macos-latest' matrix.os == 'macos-10.15'
run: | run: |
python -m awscli s3 cp python-package/dist/*.whl s3://xgboost-nightly-builds/${{ steps.extract_branch.outputs.branch }}/ --acl public-read python -m awscli s3 cp python-package/dist/*.whl s3://xgboost-nightly-builds/${{ steps.extract_branch.outputs.branch }}/ --acl public-read
env: env: