acoustic-house-77496
09/26/2023, 9:15 AMgithub action
uses the workflow github token
to authenticate with pypi and publish the repo
this way we can avoid creating a secret for twineenough-analyst-54434
09/26/2023, 7:51 PMThis GitHub Action has nothing to do with building package distributions. Users are responsible for preparing dists for upload by putting them into the dist/ folder prior to running this Action.
Since
pants package
does, in fact, place packages under dist/
by default, and, further, since you can also customize the package location to look in (https://github.com/pypa/gh-action-pypi-publish?tab=readme-ov-file#customizing-target-package-dists-directory), it seems like maybe you're fishing with a question before actually trying this? Or did you try and hit an error?