Skip to content

Commit c52874c

Browse files
committed
changes for testpypi release
1 parent eadf3a4 commit c52874c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy_testpypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v6
19+
with:
20+
persist-credentials: false
1921

2022
- name: Set up UV
2123
uses: astral-sh/setup-uv@v7.6.0
@@ -31,5 +33,7 @@ jobs:
3133
- name: Build package with Uv
3234
run: uv build # Build source distribution and wheel
3335

34-
- name: Publish to TestPyPI with Trusted Publisher
35-
run: uv publish --index testpypi
36+
- name: Publish package distributions to TestPyPI
37+
uses: pypa/gh-action-pypi-publish@release/v1
38+
with:
39+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)