CI: Update gh-action-pyi-publish version
@@ -38,7 +38,7 @@ jobs:
- name: Build sdist and wheel
run: python -m build
- name: Test PyPI upload
- uses: pypa/gh-action-pypi-publish@master
+ uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
@@ -46,7 +46,7 @@ jobs:
skip_existing: true
- name: Upload to PyPI (on tags)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- uses: pypa/gh-action-pypi-publish@master
+ uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
