File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed
Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-20.04
99 steps :
1010 - uses : actions/checkout@v2
11- - name : install python2 for ubuntu
12- run : sudo apt install python2
13- - name : get pip script for python2
14- run : curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
15- - name : install pip for python2
16- run : sudo python2 get-pip.py
17- - name : install requirements for python2
18- run : pip2 install -r requirements-2.txt
1911 - name : install requirements for python3
2012 run : pip3 install -r requirements-3.txt
2113 - name : package and upload python3
2416 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
2517 PYTHON_DATEMATH_VERSION : ${{ github.event.release.tag_name }}
2618 run : |
27- python2.7 setup.py sdist bdist_wheel
2819 python3 setup.py sdist bdist_wheel
2920 twine upload dist/*
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments