We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf81ab commit ce16c3bCopy full SHA for ce16c3b
.github/workflows/publish-pypi.yml
@@ -0,0 +1,32 @@
1
+name: Publish to PyPi
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ name: Build, verify, & upload package to PyPi
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v4
14
+ - name: Prepare common Python build environment
15
+ uses: ./.github/actions/python-build-env-setup
16
+ with:
17
+ python-version: "3.13"
18
19
+ - name: Pip cache
20
+ uses: actions/cache@v4
21
22
+ path: ~/.cache/pip
23
+ key: ${{ runner.os }}-pip
24
+ restore-keys: |
25
+ ${{ runner.os }}-pip
26
27
+ - name: Build, verify, and upload to PyPI
28
+ run: |
29
+ pip install --upgrade nox
30
+ nox -s build publish_pypi
31
+ env:
32
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments