Commit cae38cc 1 parent 3336752 commit cae38cc Copy full SHA for cae38cc
File tree 2 files changed +38
-18
lines changed
2 files changed +38
-18
lines changed Original file line number Diff line number Diff line change 13
13
types : [published]
14
14
15
15
jobs :
16
- deploy :
16
+ release-build :
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+
22
+ - uses : actions/setup-python@v4
23
+ with :
24
+ python-version : " 3.x"
25
+
26
+ - name : install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install build
17
30
31
+ - name : build package
32
+ run : python -m build
33
+
34
+ - name : upload dists
35
+ uses : actions/upload-artifact@v3
36
+ with :
37
+ name : release-dists
38
+ path : dist/
39
+
40
+ pypi-publish :
18
41
runs-on : ubuntu-latest
42
+ needs :
43
+ - release-build
44
+ permissions :
45
+ id-token : write
19
46
20
47
steps :
21
- - uses : actions/checkout@v2
22
- - name : Set up Python
23
- uses : actions/setup-python@v2
24
- with :
25
- python-version : ' 3.x'
26
- - name : Install dependencies
27
- run : |
28
- python -m pip install --upgrade pip
29
- pip install build
30
- - name : Build package
31
- run : python -m build
32
- - name : Publish package
33
- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
34
- with :
35
- user : __token__
36
- password : ${{ secrets.PYPI_API_TOKEN }}
48
+ - name : Retrieve release distributions
49
+ uses : actions/download-artifact@v3
50
+ with :
51
+ name : release-dists
52
+ path : dist/
53
+
54
+ - name : Publish release distributions to PyPI
55
+ uses : pypa/gh-action-pypi-publish@release/v1
56
+
Original file line number Diff line number Diff line change 1
- __version__ = '0.1.34 '
1
+ __version__ = '0.1.35 '
2
2
3
3
_classifiers = [
4
4
'Development Status :: 4 - Beta' ,
You can’t perform that action at this time.
0 commit comments