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 0f3ebe5 commit 107b85fCopy full SHA for 107b85f
.github/workflows/publish.yml
@@ -0,0 +1,33 @@
1
+name: Manual PyPI Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ name: Publish to PyPI
9
+ runs-on: ubuntu-latest
10
11
+ permissions:
12
+ id-token: write
13
+ contents: read
14
15
+ steps:
16
+ # Use current branch/tag
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: '3.10'
23
24
+ - name: Install build dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ python -m pip install build
28
29
+ - name: Build distribution
30
+ run: python -m build
31
32
+ - name: Publish to PyPI
33
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments