File tree 1 file changed +15
-11
lines changed
1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,18 @@ jobs:
61
61
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
62
62
runs-on : ubuntu-latest
63
63
steps :
64
- - name : Checkout source
65
- uses : actions/checkout@v2
66
- - name : Build package
67
- run : |
68
- pip install wheel
69
- python setup.py sdist bdist_wheel
70
- - name : Publish
71
- uses : pypa/gh-action-pypi-publish@v1.1.0
72
- with :
73
- user : __token__
74
- password : ${{ secrets.PYPI_KEY }}
64
+ - name : Checkout source
65
+ uses : actions/checkout@v2
66
+ - name : Set up Python 3.7
67
+ uses : actions/setup-python@v1
68
+ with :
69
+ python-version : 3.7
70
+ - name : Build package
71
+ run : |
72
+ pip install wheel
73
+ python setup.py sdist bdist_wheel
74
+ - name : Publish
75
+ uses : pypa/gh-action-pypi-publish@v1.1.0
76
+ with :
77
+ user : __token__
78
+ password : ${{ secrets.PYPI_KEY }}
You can’t perform that action at this time.
0 commit comments