mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
Actions: fix pypa/pypi-publish@release/v1
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
4
.github/workflows/publish-to-pypi.yml
vendored
4
.github/workflows/publish-to-pypi.yml
vendored
@@ -32,12 +32,12 @@ jobs:
|
||||
run: python -m twine check dist/*
|
||||
- name: Publish distribution 📦 to Test PyPI when releases branch
|
||||
if: ${{ startsWith(github.event.ref, 'refs/heads/releases') }}
|
||||
uses: pypa/gh-action-pypi-publish@v1
|
||||
uses: pypa/gh-action-pypi-publish@@release/v1
|
||||
with:
|
||||
password: ${{ secrets.testpypi_password }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') }}
|
||||
uses: pypa/gh-action-pypi-publish@v1
|
||||
uses: pypa/gh-action-pypi-publish@@release/v1
|
||||
with:
|
||||
password: ${{ secrets.pypi_password }}
|
||||
|
||||
Reference in New Issue
Block a user