diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index b0c0c3442..7e28e73aa 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -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: