Wait for Test PyPI to upload test release
@@ -39,6 +39,9 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
+ - name: Sleep
+ run: sleep 60
+
- name: Test install from Test PyPI
run: |
pip install \
@@ -69,6 +72,6 @@ jobs:
run: python -m build --sdist --wheel .
- name: Publish package
- uses: pypa/gh-action-pypi-publish@v1.5.1
+ uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
