Skip to content

Use twine to upload wheels #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/wheels-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ permissions:
jobs:
wheel-publish:
name: wheels publish
runs-on: linux-amd64-cpu4
runs-on: ubuntu-latest
container:
# CUDA toolkit version of the container is irrelevant in the publish step.
# This just uploads already-built wheels to remote storage.
Expand Down Expand Up @@ -100,9 +100,11 @@ jobs:

- name: Publish the downloaded wheels to PyPI
if: ${{ inputs.publish_to_pypi && steps.check_if_release.outputs.is_release_build == 'true' }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.RAPIDSAI_PYPI_TOKEN }}
run: |
python3 -m pip install twine
python3 -m twine upload -u __token__ dist/*
env:
TWINE_PASSWORD: ${{ secrets.RAPIDSAI_PYPI_TOKEN }}
- name: Telemetry upload attributes
uses: rapidsai/shared-actions/telemetry-dispatch-stash-job-artifacts@main
continue-on-error: true
Expand Down