From cc6713837a30e4cf95601569c3a06b85105adf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 20 May 2024 12:19:39 -0700 Subject: [PATCH] github: publish test to pypi again. simply always use PRs --- .github/workflows/publish.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4e971e8e8..68424f106 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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/