File tree Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Expand file tree Collapse file tree 2 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,28 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
build :
7
-
8
7
runs-on : ubuntu-latest
9
-
8
+
10
9
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 2
2
3
3
setup (
4
4
name = "betterproto" ,
5
- version = "1.0" ,
5
+ version = "1.0.1 " ,
6
6
description = "A better Protobuf / gRPC generator & library" ,
7
+ long_description = open ("README.md" , "r" ).read (),
8
+ long_description_content_type = "text/markdown" ,
7
9
url = "http://github.com/danielgtaylor/python-betterproto" ,
8
10
author = "Daniel G. Taylor" ,
9
11
You can’t perform that action at this time.
0 commit comments