File tree Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Original file line number Diff line number Diff line change 3535 coverage xml
3636 - name : Upload Coverage to Codecov
3737 uses : codecov/codecov-action@v2
38-
39- bump :
40- needs : test
41- runs-on : ubuntu-latest
42- permissions :
43- contents : write
44- steps :
45- - uses : actions/checkout@v3
46- with :
47- fetch-depth : ' 0'
48- - name : Bump version and push tag
49- uses :
anothrNick/[email protected] 50- env :
51- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52- WITH_V : true
53- DEFAULT_BUMP : patch
54-
55- build-n-publish :
56- needs : bump
57- name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
58- runs-on : ubuntu-latest
59- steps :
60- - uses : actions/checkout@v1
61- - name : Set up Python 3.8
62- uses : actions/setup-python@v2
63- with :
64- python-version : 3.8
65- - name : Install pypa/build
66- run : |
67- git fetch --tags
68- git branch --create-reflog main origin/main
69- python -m pip install build --user .
70- - name : Build a binary wheel and a source tarball
71- run : |
72- python -m build --sdist --wheel --outdir dist/ .
73- - name : Publish distribution 📦 to PyPI
74- uses : pypa/gh-action-pypi-publish@release/v1
75- with :
76- user : __token__
77- password : ${{ secrets.PYPI_API_TOKEN }}
78- verbose : true
You can’t perform that action at this time.
0 commit comments