Skip to content

Commit

Permalink
fix(ci): Change the default pypa/gh-action-pypi-publish version
Browse files Browse the repository at this point in the history
To prevent that warning:

> You are using `pypa/gh-action-pypi-publish@master`.
> The `master` branch of this project has been sunset and
> will not receive any updates, not even security bug fixes.
> Please, make sure to use a supported version.
> If you want to pin to v1 major version, use `pypa/gh-action-pypi-publish@release/v1`.
> If you feel adventurous, you may opt to use use `pypa/gh-action-pypi-publish@unstable/v1` instead.
> A more general recommendation is to pin to exact tags or commit SHAs.
  • Loading branch information
BoboTiG committed Oct 6, 2023
1 parent d456eca commit a1dc368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: ls -l dist
- name: Publish
if: github.event.inputs.branch != ''
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit a1dc368

Please sign in to comment.