github: publish test to pypi again. simply always use PRs

This commit is contained in:
Aleix Conchillo Flaqué
2024-05-20 12:19:39 -07:00
parent 728fe0ad88
commit cc6713837a

View File

@@ -60,3 +60,25 @@ jobs:
with:
verbose: true
print-hash: true
publish-to-test-pypi:
name: "Publish to Test PyPI"
runs-on: ubuntu-latest
needs: [ build ]
environment:
name: testpypi
url: https://pypi.org/p/pipecat-ai
permissions:
id-token: write
steps:
- name: Download wheels
uses: actions/download-artifact@v4
with:
name: wheels
path: ./dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
print-hash: true
repository-url: https://test.pypi.org/legacy/