File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ jobs:
4848 submodules : recursive
4949 - name : Build wheels
505051+ - uses : actions/upload-artifact@v6
52+ with :
53+ name : wheels-${{ matrix.os }}-${{ matrix.python }}
54+ path : ./wheelhouse/*.whl
5155 - name : Check ABI3
5256 run : |
5357 pip install abi3audit
5458 abi3audit --strict -v --report ./wheelhouse/*.whl
5559 if : ${{ contains(fromJSON('["cp312", "cp313"]'), matrix.python) }}
56- - uses : actions/upload-artifact@v6
57- with :
58- name : wheels-${{ matrix.os }}-${{ matrix.python }}
59- path : ./wheelhouse/*.whl
6060
6161 build_sdist :
6262 name : Build source distribution
@@ -113,12 +113,6 @@ jobs:
113113 pip install -U twine packaging
114114 twine check dist/*
115115
116- - name : Upload merged dist
117- uses : actions/upload-artifact@v6
118- with :
119- name : dist
120- path : dist/*
121-
122116 release :
123117 name : Release
124118 runs-on : ubuntu-latest
@@ -130,13 +124,19 @@ jobs:
130124
131125 environment :
132126 name : release
133- url : https://pypi.org/p/onnxoptimizer
134127
135128 steps :
136- - name : Download distributions
129+ - name : Download wheels
137130 uses : actions/download-artifact@v7
138131 with :
139- name : dist
132+ pattern : wheels-*
133+ path : dist
134+ merge-multiple : true
135+
136+ - name : Download sdist
137+ uses : actions/download-artifact@v7
138+ with :
139+ name : sdist
140140 path : dist
141141
142142 - name : Publish to PyPI
You can’t perform that action at this time.
0 commit comments