Hi I'm wondering if there is any way to use <gh-ac...
# general
a
Hi I'm wondering if there is any way to use gh-action-pypi-publish? this
github action
uses the workflow github
token
to authenticate with pypi and publish the repo this way we can avoid creating a secret for twine
e
Quoting: https://github.com/pypa/gh-action-pypi-publish?tab=readme-ov-file#non-goals
This 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?