Skip to content

Commit 6ed7290

Browse files
Add publish to Test PyPI
1 parent dd8c080 commit 6ed7290

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ jobs:
2828
- name: Build package
2929
run: python -m build
3030

31+
- name: Publish to Test PyPI
32+
uses: pypa/gh-action-pypi-publish@release/v1
33+
with:
34+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
35+
repository_url: https://test.pypi.org/legacy/
36+
3137
- name: Publish to PyPI
3238
uses: pypa/gh-action-pypi-publish@release/v1
3339
with:
34-
user: __token__
3540
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)