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 b07c90b commit a308966Copy full SHA for a308966
.github/workflows/main.yml
@@ -0,0 +1,27 @@
1
+name: Publish Python Package
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
8
+jobs:
9
+ pypi-publish:
10
+ name: upload release to PyPI
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ id-token: write
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ ref: ${{ github.event.release.tag_name }}
19
20
+ - name: Setup PDM
21
+ uses: pdm-project/setup-pdm@v4
22
23
+ python-version: 3.9.6
24
+ version: 2.10.0
25
26
+ - name: Publish package distributions to PyPI
27
+ run: pdm publish
0 commit comments