Skip to content

Commit b1bcec0

Browse files
committed
try fix release action
1 parent 8b9e0ef commit b1bcec0

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ jobs:
8686
- lint
8787
- test
8888
- build
89-
- publish-to-testpypi
9089
runs-on: ubuntu-latest
9190
environment:
9291
name: pypi
@@ -143,28 +142,3 @@ jobs:
143142
gh release upload
144143
'${{ github.ref_name }}' dist/**
145144
--repo '${{ github.repository }}'
146-
147-
publish-to-testpypi:
148-
name: Publish to TestPyPI
149-
needs:
150-
- build
151-
runs-on: ubuntu-latest
152-
153-
environment:
154-
name: testpypi
155-
url: https://test.pypi.org/project/${{ needs.build.outputs.PACKAGE_NAME }}
156-
157-
permissions:
158-
id-token: write # IMPORTANT: mandatory for trusted publishing
159-
160-
steps:
161-
- name: Download all the dists
162-
uses: actions/download-artifact@v4
163-
with:
164-
name: python-package-distributions
165-
path: dist/
166-
- name: Publish distribution 📦 to TestPyPI
167-
uses: pypa/gh-action-pypi-publish@release/v1.12
168-
with:
169-
repository-url: https://test.pypi.org/legacy/
170-
skip-existing: true

0 commit comments

Comments
 (0)