We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d5f780 commit c8eba44Copy full SHA for c8eba44
.github/workflows/publish-testpypi-manual.yml
@@ -0,0 +1,23 @@
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
15
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
16
+ # build artifacts (wheel + sdist)
17
+ - run: python -m pip install --upgrade build
18
+ - run: python -m build
19
+ # publish to **TestPyPI** via Trusted Publishers (OIDC)
20
+ - uses: pypa/gh-action-pypi-publish@release/v1
21
+ with:
22
+ repository-url: https://test.pypi.org/legacy/
23
+ skip-existing: true
0 commit comments