File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : release
22
3- on : push
3+ on :
4+ release :
5+ types : [published]
46
57jobs :
68 publish-pypi :
79 runs-on : ubuntu-latest
810 steps :
911 - uses : actions/checkout@master
1012 - name : Set up Python 3.8
11- uses : actions/setup-python@v2.2.1
13+ uses : actions/setup-python@v4.7.0
1214 with :
1315 python-version : 3.8
1416 - name : Install dependencies
1517 run : pip install -qU setuptools wheel twine
1618 - name : Generating distribution archives
1719 run : python setup.py sdist bdist_wheel
1820 - name : Publish distribution 📦 to PyPI
19- if : startsWith(github.event.ref, 'refs/tags')
2021 uses : pypa/gh-action-pypi-publish@master
2122 with :
2223 user : __token__
Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010 - name : Set up Python
11- uses : actions/setup-python@v2.2.1
11+ uses : actions/setup-python@v4.7.0
1212 with :
1313 python-version : 3.8
1414 - name : Install dependencies
@@ -20,11 +20,11 @@ jobs:
2020 runs-on : ubuntu-latest
2121 strategy :
2222 matrix :
23- python-version : [3.7, 3.8 ]
23+ python-version : ['3.8', '3.9', '3.10' ]
2424 steps :
2525 - uses : actions/checkout@v2
2626 - name : Set up Python ${{ matrix.python-version }}
27- uses : actions/setup-python@v2.2.1
27+ uses : actions/setup-python@v4.7.0
2828 with :
2929 python-version : ${{ matrix.python-version }}
3030 - name : Install dependencies
3737 steps :
3838 - uses : actions/checkout@master
3939 - name : Setup Python
40- uses : actions/setup-python@v2.2.1
40+ uses : actions/setup-python@v4.7.0
4141 with :
4242 python-version : 3.8
4343 - name : Install dependencies
4747 - name : Upload coverage to Codecov
4848 uses : codecov/codecov-action@v1
4949 with :
50+ token : ${{ secrets.CODECOV_TOKEN }}
5051 file : ./coverage.xml
5152 flags : unittests
5253 name : codecov-umbrella
You can’t perform that action at this time.
0 commit comments