File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 5050
5151 - uses : actions/upload-artifact@v4
5252 with :
53+ name : wheels-${{ matrix.os}}-${{ matrix.arch }}
5354 path : ./wheelhouse/*.whl
5455
5556 build_sdist :
@@ -64,16 +65,24 @@ jobs:
6465
6566 - uses : actions/upload-artifact@v4
6667 with :
68+ name : source-distribution
6769 path : dist/*.tar.gz
6870
69- upload_pypi :
71+ merge :
7072 needs : [build_wheels, build_sdist]
7173 runs-on : ubuntu-latest
74+ steps :
75+ - name : Merge Artifacts
76+ uses : actions/upload-artifact/merge@v4
77+
78+ upload_pypi :
79+ needs : [build_wheels, build_sdist, merge]
80+ runs-on : ubuntu-latest
7281 if : github.event.inputs.upload_to_pypi == 'true'
7382 steps :
7483 - uses : actions/download-artifact@v4
7584 with :
76- name : artifact
85+ name : merged-artifacts
7786 path : dist
7887
7988 - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments