github: don't publish to test pypi twice
This commit is contained in:
22
.github/workflows/publish.yaml
vendored
22
.github/workflows/publish.yaml
vendored
@@ -60,25 +60,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
verbose: true
|
verbose: true
|
||||||
print-hash: 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/
|
|
||||||
|
|||||||
8
.github/workflows/publish_test.yaml
vendored
8
.github/workflows/publish_test.yaml
vendored
@@ -2,11 +2,9 @@ name: publish-test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- main
|
||||||
paths-ignore:
|
|
||||||
- "docs/**"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -42,7 +40,7 @@ jobs:
|
|||||||
name: wheels
|
name: wheels
|
||||||
path: ./dist
|
path: ./dist
|
||||||
|
|
||||||
publish-to-pypi:
|
publish-to-test-pypi:
|
||||||
name: "Publish to Test PyPI"
|
name: "Publish to Test PyPI"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ build ]
|
needs: [ build ]
|
||||||
|
|||||||
Reference in New Issue
Block a user