File tree 2 files changed +8
-14
lines changed
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 6
6
- ' Release-*'
7
7
8
8
jobs :
9
- build :
9
+ publish :
10
10
runs-on : ubuntu-latest
11
- strategy :
12
- matrix :
13
- python : ['3.10']
14
11
15
12
steps :
16
13
- uses : actions/checkout@v3
17
14
18
- - name : Set up Python ${{ matrix.python }}
15
+ - name : Set up Python
19
16
uses : actions/setup-python@v4
20
17
with :
21
- python-version : ${{ matrix.python }}
18
+ python-version : " 3.10 "
22
19
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
26
22
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
31
25
32
26
- name : Publish distribution to PyPI
33
27
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
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
6
+ test :
7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
You can’t perform that action at this time.
0 commit comments