Use PyPI trusted publishing via GitHub actions #56
Locked
AndrewSazonov
announced in
ADRs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We use PyPI Trusted Publishing for publishing Python packages from GitHub CI.
Trusted Publishing uses OpenID Connect (OIDC) and allows PyPI to trust GitHub Actions directly. This means:
Configuration Steps
Select GitHub Actions and fill in:
easysciencepeasy-lib,diffraction-lib, etc.)pypi-publish.ymlConsequences
After this is configured, the
pypi-publish.ymlworkflow (added to the repository via the Copier templates) will automatically publish the package to PyPI whenever a new GitHub release is created.Links to the original discussions: #52
Beta Was this translation helpful? Give feedback.
All reactions