File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2+
3+
4+ on :
5+ release :
6+ types : [created]
7+
8+
9+ jobs :
10+ build-n-publish :
11+ name : Build and publish Python 🐍 distributions 📦 to PyPI
12+ runs-on : " ubuntu-latest"
13+
14+ steps :
15+ - uses : " actions/checkout@v2"
16+ - uses : " actions/setup-python@v2"
17+ with :
18+ python-version : 3.9
19+
20+ - name : Install dependencies
21+ run : |
22+ pip install pipenv
23+ pip install build
24+ pipenv install --dev
25+
26+ - name : Test
27+ run : |
28+ pipenv run pytest
29+
30+ - name : Build
31+ run : >-
32+ python -m
33+ build
34+ --sdist
35+ --wheel
36+ --outdir dist/
37+
38+ - name : Publish distribution 📦 to PyPI
39+ uses : pypa/gh-action-pypi-publish@master
40+ with :
41+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 66setup (
77 name = 'serverlessworkflow.sdk' ,
88 packages = find_packages (include = ['serverlessworkflow' , 'serverlessworkflow.sdk' ]),
9- version = '0.1 .0' ,
9+ version = '1.0 .0' ,
1010 description = 'Serverless Workflow Specification - Python SDK' ,
1111 long_description = readme ,
1212 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments