We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8104a7e commit b123ab5Copy full SHA for b123ab5
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: Release Python Package to pypi
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
12
+ permissions:
13
+ id-token: write
14
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v3
18
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v4
21
+ with:
22
+ python-version: "3.10"
23
24
+ - name: Install dependencies
25
+ run: pip install setuptools
26
27
+ - name: Build package
28
+ run: python setup.py sdist bdist_wheel
29
30
+ - name: Publish package
31
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments