Closed
Description
The code at this link:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
Does not match the usage from the README of the GitHub Action's website. Further it does not work.
In particular the above code has the following problems:
- The
user: __token__
field is missing. - The specified action should not be taken from the master branch. It should point to a release. Currently the latest is
@release/v1
.
Metadata
Metadata
Assignees
Labels
No labels