Skip to content

Commit 388946f

Browse files
wip
1 parent cc829f8 commit 388946f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/cd-pypi.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,24 @@ jobs:
3434
with:
3535
name: nitrokey-pypi
3636
path: dist
37+
publish-testpypi:
38+
name: Publish to TestPyPI
39+
runs-on: ubuntu-latest
40+
needs: build
41+
environment:
42+
name: testpypi
43+
url: https://test.pypi.org/p/nitrokey
44+
permissions:
45+
id-token: write
46+
steps:
47+
- name: Checkout repository
48+
uses: actions/checkout@v4
49+
- name: Download artifacts
50+
uses: actions/download-artifact@v4
51+
with:
52+
name: nitrokey-pypi
53+
path: dist
54+
- name: Publish to TestPyPI
55+
uses: pypa/gh-action-pypi-publish@release/v1
56+
with:
57+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)