We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7009136 commit 44b3db2Copy full SHA for 44b3db2
1 file changed
.github/workflows/release.yml
@@ -20,5 +20,9 @@ jobs:
20
- uses: actions/checkout@v4
21
- uses: astral-sh/setup-uv@v6.1.0
22
- run: uv build
23
- # - run: uv publish --trusted-publishing always --index testpypi
24
- - run: uv publish --trusted-publishing always
+ - name: Publish to TestPyPI
+ if: github.repository != 'Spherinator/Spherinator'
25
+ run: uv publish --trusted-publishing always --index testpypi
26
+ - name: Publish to PyPI
27
+ if: github.repository == 'Spherinator/Spherinator'
28
+ run: uv publish --trusted-publishing always
0 commit comments