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.
2 parents 7729a5b + 0e93ba2 commit d459aafCopy full SHA for d459aaf
.github/workflows/python-publish.yml
@@ -0,0 +1,25 @@
1
+name: PyPI Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
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 --upgrade pip
21
+ pip install build
22
+ - name: Build package
23
+ run: python -m build
24
+ - name: Publish a Python distribution to PyPI
25
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments