File tree 1 file changed +0
-36
lines changed
1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change 4
4
types :
5
5
- released
6
6
jobs :
7
- # release-python2:
8
- # runs-on: ubuntu-20.04
9
- # steps:
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
- # - name: package and upload python2
20
- # env:
21
- # TWINE_USERNAME: __token__
22
- # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
23
- # PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
24
- # run: |
25
- # python2.7 setup.py sdist bdist_wheel
26
- # twine upload dist/*
27
- # release-python3:
28
- # runs-on: ubuntu-20.04
29
- # needs:
30
- # - release-python2
31
- # steps:
32
- # - uses: actions/checkout@v2
33
- # - name: install requirements for python3
34
- # run: pip3 install -r requirements-3.txt
35
- # - name: package and upload python3
36
- # env:
37
- # TWINE_USERNAME: __token__
38
- # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
39
- # PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
40
- # run: |
41
- # python3 setup.py sdist bdist_wheel
42
- # twine upload dist/*
43
7
release-to-pypi :
44
8
runs-on : ubuntu-20.04
45
9
steps :
You can’t perform that action at this time.
0 commit comments