Skip to content

Commit d507608

Browse files
committed
fix(pypi): test pypi uploads
1 parent 2ed51ec commit d507608

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/pypi.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -95,27 +95,3 @@ jobs:
9595
gh release upload
9696
'${{ github.ref_name }}' dist/**
9797
--repo '${{ github.repository }}'
98-
99-
publish-to-testpypi:
100-
name: Publish to TestPyPI
101-
needs:
102-
- build
103-
runs-on: ubuntu-latest
104-
105-
environment:
106-
name: testpypi
107-
url: https://test.pypi.org/p/sphinx-code-include
108-
109-
permissions:
110-
id-token: write # IMPORTANT: mandatory for trusted publishing
111-
112-
steps:
113-
- name: Download all the dists
114-
uses: actions/download-artifact@v3
115-
with:
116-
name: python-package-distributions
117-
path: dist/
118-
- name: Publish to TestPyPI
119-
uses: pypa/gh-action-pypi-publish@release/v1
120-
with:
121-
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)