Skip to content
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

Use GitHub Actions for PyPI publish on release #663

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

jacobtomlinson
Copy link
Member

Adds a GitHub Actions workflow that builds new tags and pushes them to PyPI. This removes a little bit of potential human error when it comes to building the distributions.

The new release process will be:

  • Update the Changelog
  • Create a new tag on main
  • Push the tag to the upstream repo
  • Wait for bots to do their thing

@jacobtomlinson jacobtomlinson added the CI Continuous Integration tools label Aug 21, 2024
Comment on lines +25 to +26
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone interested in how this works without passing any credentials I had to log into PyPI and set up GitHub Actions as a trusted publisher.

@jacobtomlinson jacobtomlinson merged commit 399a066 into dask:main Aug 21, 2024
10 of 11 checks passed
@jacobtomlinson jacobtomlinson deleted the ci-release branch August 21, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant