We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91736c6 commit 96c65d2Copy full SHA for 96c65d2
1 file changed
.github/workflows/publish-testpypi-manual.yml
@@ -0,0 +1,25 @@
1
+name: publish-testpypi-manual
2
+
3
+on:
4
+ workflow_dispatch: {} # run manually from the Actions tab
5
6
+permissions:
7
+ contents: read
8
+ id-token: write # required for PyPI/TestPyPI Trusted Publishers (OIDC)
9
10
+jobs:
11
+ testpypi:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
16
17
+ # build artifacts (wheel + sdist)
18
+ - run: python -m pip install --upgrade build
19
+ - run: python -m build
20
21
+ # publish to **TestPyPI** via Trusted Publishers (OIDC)
22
+ - uses: pypa/gh-action-pypi-publish@release/v1
23
+ with:
24
+ repository-url: https://test.pypi.org/legacy/
25
+ skip-existing: true
0 commit comments