Skip to content

Commit 33a0f06

Browse files
committed
Disable test-pypi publish
1 parent 1fb0ede commit 33a0f06

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,28 @@ jobs:
9494
'${{ github.ref_name }}' dist/**
9595
--repo '${{ github.repository }}'
9696
97-
publish-to-testpypi:
98-
name: Publish Python 🐍 distribution 📦 to TestPyPI
99-
if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes
100-
needs:
101-
- build
102-
runs-on: ubuntu-latest
97+
# publish-to-testpypi:
98+
# name: Publish Python 🐍 distribution 📦 to TestPyPI
99+
# if: startsWith(github.ref, 'refs/tags/') # only publish to TestPyPI on tag pushes
100+
# needs:
101+
# - build
102+
# runs-on: ubuntu-latest
103103

104-
environment:
105-
name: testpypi
106-
url: ${{ env.PYPI_TEST_URL }}
104+
# environment:
105+
# name: testpypi
106+
# url: ${{ env.PYPI_TEST_URL }}
107107

108-
permissions:
109-
id-token: write # IMPORTANT: mandatory for trusted publishing
108+
# permissions:
109+
# id-token: write # IMPORTANT: mandatory for trusted publishing
110110

111-
steps:
112-
- name: Download all the dists
113-
uses: actions/download-artifact@v4
114-
with:
115-
name: python-package-distributions
116-
path: dist/
117-
- name: Publish distribution 📦 to TestPyPI
118-
uses: pypa/gh-action-pypi-publish@release/v1.10
119-
with:
120-
repository-url: https://test.pypi.org/legacy/
121-
skip-existing: true
111+
# steps:
112+
# - name: Download all the dists
113+
# uses: actions/download-artifact@v4
114+
# with:
115+
# name: python-package-distributions
116+
# path: dist/
117+
# - name: Publish distribution 📦 to TestPyPI
118+
# uses: pypa/gh-action-pypi-publish@release/v1.10
119+
# with:
120+
# repository-url: https://test.pypi.org/legacy/
121+
# skip-existing: true

0 commit comments

Comments
 (0)