Skip to content

Commit 0b34ff0

Browse files
author
Jaime Céspedes Sisniega
authored
Merge pull request #145 from IFCA/feature-test-pypi
Add publish to Test PyPI
2 parents dd8c080 + 6ed7290 commit 0b34ff0

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)