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 52bf3a8 commit a7f0a7cCopy full SHA for a7f0a7c
.github/workflows/publish.yml
@@ -0,0 +1,33 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
13
+ steps:
14
+ - name: Check out repository
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: '3.11'
21
22
+ - name: Install build dependencies
23
+ run: |
24
+ python -m pip install --upgrade build
25
26
+ - name: Build the package
27
28
+ python -m build
29
30
+ - name: Publish to PyPI
31
+ uses: pypa/gh-action-pypi-publish@release/v1
32
33
+ skip-existing: true
0 commit comments