File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish package
2
+ on :
3
+ release :
4
+ types : [created]
5
+
6
+ jobs :
7
+ build-n-publish :
8
+ name : Build and publish
9
+ runs-on : ubuntu-18.04
10
+
11
+ steps :
12
+ - uses : actions/checkout@master
13
+ - name : Set up Python 3.9
14
+ uses : actions/setup-python@v1
15
+ with :
16
+ python-version : 3.9
17
+ - name : Install pypa/build
18
+ run : >-
19
+ python -m
20
+ pip install
21
+ build
22
+ --user
23
+ - name : Build a binary wheel and a source tarball
24
+ run : >-
25
+ python -m
26
+ build
27
+ --sdist
28
+ --wheel
29
+ --outdir dist/
30
+ .
31
+ - name : Publish distribution 📦 to PyPI
32
+ uses : pypa/gh-action-pypi-publish@master
33
+ with :
34
+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1
1
import requests
2
2
3
- __version__ = '0.3 .0'
3
+ __version__ = '0.4 .0'
4
4
5
5
6
6
class Connection (object ):
Original file line number Diff line number Diff line change 4
4
5
5
from setuptools .command .install import install
6
6
7
- version = '0.3 .0'
7
+ version = '0.4 .0'
8
8
9
9
with open ("README.md" , "r" ) as f :
10
10
long_description = f .read ()
You can’t perform that action at this time.
0 commit comments