Skip to content

Commit 381ca89

Browse files
committed
update to fix publish to testpypi
1 parent 88d449e commit 381ca89

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ jobs:
3232
run: hatch build
3333

3434
- name: Publish package to PyPi
35+
if: github.event.release.prerelease == false
3536
uses: pypa/gh-action-pypi-publish@release/v1
37+
38+
- name: Publish package to TestPyPi
39+
if: github.event.release.prerelease == true
40+
uses: pypa/gh-action-pypi-publish@release/v1
41+
with:
42+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)