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 8
8
runs-on : ubuntu-20.04
9
9
steps :
10
10
- 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
19
11
- name : install requirements for python3
20
12
run : pip3 install -r requirements-3.txt
21
13
- name : package and upload python3
24
16
TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
25
17
PYTHON_DATEMATH_VERSION : ${{ github.event.release.tag_name }}
26
18
run : |
27
- python2.7 setup.py sdist bdist_wheel
28
19
python3 setup.py sdist bdist_wheel
29
20
twine upload dist/*
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments