Skip to content

Commit

Permalink
revise action name, use full pypi url
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Apr 3, 2024
1 parent 630a7b3 commit 3759fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
env:
name: pypi
url: https://pypi.org/p/spacekit
url: https://pypi.org/project/spacekit
user: ${{ secrets.PYPI_USERNAME_SPACEKIT_MAINTAINER }}
password: ${{ secrets.PYPI_PASSWORD_SPACEKIT_MAINTAINER }}
test_password: ${{ secrets.PYPI_PASSWORD_SPACEKIT_MAINTAINER_TEST }}
Expand All @@ -63,7 +63,7 @@ jobs:
path: dist

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.8.10
uses: pypa/[email protected]
with:
user: ${{ env.user }}
password: ${{ (inputs.test == 'true' && env.test_password) || env.password }}
Expand Down

0 comments on commit 3759fb6

Please sign in to comment.