pkging: also post released packages to test.pypi.org

This commit is contained in:
skshetry
2022-11-07 18:57:53 +05:45
parent 2c3956bdb0
commit 7e423b668f
+1 -1
View File
@@ -104,7 +104,7 @@ jobs:
password: ${{ secrets.PYPI_TOKEN }}
- name: Publish to Test PyPI
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}