File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020 - name : Install dependencies
2121 run : |
22- # install deps required for building sdist/wheel
22+ # install deps required for building sdist/wheels
2323 python -m pip install --upgrade pip
2424 pip install -r requirements/dist.txt
2525 pip install -r requirements/test.txt
@@ -30,14 +30,24 @@ jobs:
3030 PY_COLORS : 1
3131 run : python setup.py test
3232
33- - name : Build release files
33+ - name : Build sdist
3434 run : |
3535 git clean -fxd
3636 python setup.py sdist
37- python setup.py bdist_wheel
38- # output file info
39- tar -ztf dist/*.tar.gz | sort
37+
38+ - name : Build wheel
39+ run : python setup.py bdist_wheel
40+
41+ - name : Output dist file info
42+ run : |
4043 sha512sum dist/*
44+ tar -ztf dist/*.tar.gz | sort
45+
46+ - name : Install twine and check files
47+ run : |
48+ pip install twine wheel-inspect
49+ twine check dist/*
50+ wheel2json dist/*.whl
4151
4252 - name : Upload files for tagged releases
4353 env :
4656 # only upload files for tagged releases
4757 if : startsWith(github.ref, 'refs/tags/')
4858 run : |
49- pip install twine
5059 twine upload dist/*
You can’t perform that action at this time.
0 commit comments