File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 66 tags : ["v*"]
77 pull_request :
88 workflow_dispatch :
9-
109
1110jobs :
1211 build_wheels :
@@ -40,27 +39,29 @@ jobs:
4039 run : python3 -m cibuildwheel --output-dir dist
4140 env :
4241 CIBW_ARCHS : ${{ matrix.archs }}
43- CIBW_SKIP : ' *-musllinux_*'
42+ CIBW_SKIP : " *-musllinux_*"
4443
4544 - uses : actions/upload-artifact@v3
4645 with :
46+ name : release
4747 path : dist/*.whl
4848
4949 make_sdist :
5050 name : Make SDist
5151 runs-on : ubuntu-latest
5252 steps :
53- - uses : actions/checkout@v3
54- with :
55- submodules : true
53+ - uses : actions/checkout@v3
54+ with :
55+ submodules : true
5656
57- - name : Build SDist
58- run : pipx run build --sdist
57+ - name : Build SDist
58+ run : pipx run build --sdist
59+
60+ - uses : actions/upload-artifact@v3
61+ with :
62+ name : release
63+ path : dist/*.tar.gz
5964
60- - uses : actions/upload-artifact@v3
61- with :
62- path : dist/*.tar.gz
63-
6465 publish :
6566 name : Publish
6667 needs : [build_wheels, make_sdist]
@@ -70,12 +71,11 @@ jobs:
7071 # only execute on tag push v1 or workflow_dispatch
7172 if : (github.event_name == 'push' && github.ref_type == 'tag') || github.event_name == 'workflow_dispatch'
7273 steps :
73- - uses : actions/download-artifact@v2
74+ - uses : actions/download-artifact@v3
7475 with :
75- name : dist
76- path : dist
76+ name : release
7777
7878 - uses : pypa/gh-action-pypi-publish@release/v1
7979 with :
8080 user : __token__
81- password : ${{ secrets.PYPI_API_TOKEN }}
81+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments