File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 66 - ' Release-*'
77
88jobs :
9- build :
9+ publish :
1010 runs-on : ubuntu-latest
11- strategy :
12- matrix :
13- python : ['3.10']
1411
1512 steps :
1613 - uses : actions/checkout@v3
1714
18- - name : Set up Python ${{ matrix.python }}
15+ - name : Set up Python
1916 uses : actions/setup-python@v4
2017 with :
21- python-version : ${{ matrix.python }}
18+ python-version : " 3.10 "
2219
23- - name : Build source tarball
24- if : matrix.python == 3.10
25- run : python setup.py sdist
20+ - name : Install build tool
21+ run : python -m pip install build --user
2622
27- - name : Build wheel
28- run : |
29- pip install wheel
30- python setup.py bdist_wheel
23+ - name : Build source tarball and wheel
24+ run : python -m build
3125
3226 - name : Publish distribution to PyPI
3327 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Test DBUtils using tox
33on : [push, pull_request]
44
55jobs :
6- build :
6+ test :
77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
You can’t perform that action at this time.
0 commit comments