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 14f0b36 commit 3db2b91Copy full SHA for 3db2b91
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ pypi-publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v5
16
+ with:
17
+ python-version: '3.x'
18
+ - name: Install Dependencies
19
+ run: |
20
+ python -m pip install -U build
21
+ - name: Build Wheel
22
23
+ python -m build --wheel
24
+ - name: Publish package distributions to PyPI
25
+ uses: pypa/gh-action-pypi-publish@release/v1
.github/workflows/python-publish.yml
0 commit comments