-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revise action name, use full pypi url
- Loading branch information
1 parent
630a7b3
commit 3759fb6
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|