Replace deprecated pypa/gh-action-pypi-publish@master with @release/v1

Committed via https://github.com/asottile/all-repos
This commit is contained in:
Hugo van Kemenade 2022-07-25 21:21:03 +03:00
parent d35eb5220f
commit 8a967b52f4

View file

@ -39,13 +39,13 @@ jobs:
- name: Publish package to PyPI - name: Publish package to PyPI
if: github.event.action == 'published' if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@release/v1
with: with:
user: __token__ user: __token__
password: ${{ secrets.pypi_password }} password: ${{ secrets.pypi_password }}
- name: Publish package to TestPyPI - name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@master uses: pypa/gh-action-pypi-publish@release/v1
with: with:
user: __token__ user: __token__
password: ${{ secrets.test_pypi_password }} password: ${{ secrets.test_pypi_password }}