File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,20 +4,28 @@ on: [push, pull_request]
44
55jobs :
66 build :
7-
87 runs-on : ubuntu-latest
9-
8+
109 steps :
11- - uses : actions/checkout@v1
12- - uses : actions/setup-python@v1
13- with :
14- python-version : 3.7
15- - uses : dschep/install-pipenv-action@v1
16- - name : Install dependencies
17- run : |
18- sudo apt install protobuf-compiler
19- pipenv install --dev
20- - name : Run tests
21- run : |
22- pipenv run generate
23- pipenv run test
10+ - uses : actions/checkout@v1
11+ - uses : actions/setup-python@v1
12+ with :
13+ python-version : 3.7
14+ - uses : dschep/install-pipenv-action@v1
15+ - name : Install dependencies
16+ run : |
17+ sudo apt install protobuf-compiler
18+ pipenv install --dev
19+ - name : Run tests
20+ run : |
21+ pipenv run generate
22+ pipenv run test
23+ - name : Build package
24+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
25+ run : pipenv run python setup.py sdist
26+ - name : Publish package
27+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
28+ uses : pypa/gh-action-pypi-publish@master
29+ with :
30+ user : __token__
31+ password : ${{ secrets.pypi }}
Original file line number Diff line number Diff line change 22
33setup (
44 name = "betterproto" ,
5- version = "1.0" ,
5+ version = "1.0.1 " ,
66 description = "A better Protobuf / gRPC generator & library" ,
7+ long_description = open ("README.md" , "r" ).read (),
8+ long_description_content_type = "text/markdown" ,
79 url = "http://github.com/danielgtaylor/python-betterproto" ,
810 author = "Daniel G. Taylor" ,
911 author_email = "danielgtaylor@gmail.com" ,
You can’t perform that action at this time.
0 commit comments