Skip to content

Commit 5caa40c

Browse files
committed
Remove TestPyPI workflow and simplify PyPI publishing
1 parent 4007bfa commit 5caa40c

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
1+
name: Publish Python 🐍 distribution 📦 to PyPI
22

33
on: push
44

@@ -37,7 +37,7 @@ jobs:
3737
- build
3838
runs-on: ubuntu-latest
3939
environment:
40-
name: pypi
40+
name: release
4141
url: https://pypi.org/p/perplexity-advanced-mcp
4242
permissions:
4343
id-token: write # IMPORTANT: mandatory for trusted publishing
@@ -90,27 +90,3 @@ jobs:
9090
gh release upload
9191
"$GITHUB_REF_NAME" dist/**
9292
--repo "$GITHUB_REPOSITORY"
93-
94-
publish-to-testpypi:
95-
name: Publish Python 🐍 distribution 📦 to TestPyPI
96-
needs:
97-
- build
98-
runs-on: ubuntu-latest
99-
100-
environment:
101-
name: testpypi
102-
url: https://test.pypi.org/p/perplexity-advanced-mcp
103-
104-
permissions:
105-
id-token: write # IMPORTANT: mandatory for trusted publishing
106-
107-
steps:
108-
- name: Download all the dists
109-
uses: actions/download-artifact@v4
110-
with:
111-
name: python-package-distributions
112-
path: dist/
113-
- name: Publish distribution 📦 to TestPyPI
114-
uses: pypa/gh-action-pypi-publish@release/v1
115-
with:
116-
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)