File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
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-20.04
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
+ with :
23
+ python-version : 3.11
24
+ version : 2.10.0
25
+
26
+ - name : Publish package distributions to PyPI
27
+ run : pdm publish
Original file line number Diff line number Diff line change @@ -160,3 +160,4 @@ cython_debug/
160
160
# and can be added to the global gitignore or merged into this file. For a more nuclear
161
161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162
162
# .idea/
163
+ tests /data /*
You can’t perform that action at this time.
0 commit comments