Skip to content

Commit 0e7a64c

Browse files
committed
Remove TestPyPI publishing from PyPI workflow
Removes the publish-to-testpypi job from the GitHub Actions workflow to streamline the publishing process and only publish to production PyPI.
1 parent 2d51e5f commit 0e7a64c

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 25 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

@@ -50,27 +50,3 @@ jobs:
5050
path: dist/
5151
- name: Publish distribution 📦 to PyPI
5252
uses: pypa/gh-action-pypi-publish@release/v1
53-
54-
publish-to-testpypi:
55-
name: Publish Python 🐍 distribution 📦 to TestPyPI
56-
needs:
57-
- build
58-
runs-on: ubuntu-latest
59-
60-
environment:
61-
name: testpypi
62-
url: https://test.pypi.org/p/mcpforunityserver
63-
64-
permissions:
65-
id-token: write # IMPORTANT: mandatory for trusted publishing
66-
67-
steps:
68-
- name: Download all the dists
69-
uses: actions/download-artifact@v7
70-
with:
71-
name: python-package-distributions
72-
path: dist/
73-
- name: Publish distribution 📦 to TestPyPI
74-
uses: pypa/gh-action-pypi-publish@release/v1
75-
with:
76-
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)