We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc829f8 commit 388946fCopy full SHA for 388946f
.github/workflows/cd-pypi.yaml
@@ -34,3 +34,24 @@ jobs:
34
with:
35
name: nitrokey-pypi
36
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
57
+ repository-url: https://test.pypi.org/legacy/
0 commit comments