Fix github macos package upload. (#7474)
This commit is contained in:
parent
c024c42dce
commit
488f12a996
3
.github/workflows/python_tests.yml
vendored
3
.github/workflows/python_tests.yml
vendored
@ -116,8 +116,7 @@ jobs:
|
||||
- name: Upload Python wheel
|
||||
shell: bash -l {0}
|
||||
if: |
|
||||
(github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) &&
|
||||
matrix.os == 'macos-10.15'
|
||||
(github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) && matrix.config.os == 'macos-10.15'
|
||||
run: |
|
||||
python -m awscli s3 cp python-package/dist/*.whl s3://xgboost-nightly-builds/${{ steps.extract_branch.outputs.branch }}/ --acl public-read
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user