Skip to content

Commit

Permalink
Use the release/v1 tag for pypa/gh-action-pypi-publish, as `maste…
Browse files Browse the repository at this point in the history
…r` is deprecated (#693)
  • Loading branch information
misl6 authored Nov 5, 2023
1 parent e0f52ba commit a19f8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ jobs:

- name: Publish package
if: startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-test')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN_TEST }}
repository_url: https://test.pypi.org/legacy/

- name: Publish package
if: startsWith(github.ref, 'refs/tags/') && ! endsWith(github.ref, '-test')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit a19f8ca

Please sign in to comment.