Skip to content

Commit 29c9f9c

Browse files
committed
Stop trying to publish to test pypi for now
pypa/gh-action-pypi-publish#303 Signed-off-by: Nick Diego Yamane <[email protected]>
1 parent c012ab4 commit 29c9f9c

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: Publish to PyPI and TestPyPI
1+
name: Publish to PyPI
22

33
on:
44
push:
5-
branches:
6-
- main
75
tags:
86
- '*'
97

@@ -88,25 +86,3 @@ jobs:
8886
gh release upload
8987
"$GITHUB_REF_NAME" dist/**
9088
--repo "$GITHUB_REPOSITORY"
91-
92-
publish-to-testpypi:
93-
name: Publish to TestPyPI
94-
if: github.ref == 'refs/heads/main' # only publish to TestPyPI on main pushes
95-
needs:
96-
- build
97-
runs-on: ubuntu-latest
98-
environment:
99-
name: testpypi
100-
url: https://test.pypi.org/p/compiledb
101-
permissions:
102-
id-token: write
103-
steps:
104-
- name: Download all the dists
105-
uses: actions/download-artifact@v4
106-
with:
107-
name: python-package-distributions
108-
path: dist/
109-
- name: Publish artifacts to TestPyPI
110-
uses: pypa/gh-action-pypi-publish@release/v1
111-
with:
112-
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)