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 50
50
51
51
- uses : actions/upload-artifact@v4
52
52
with :
53
+ name : wheels-${{ matrix.os}}-${{ matrix.arch }}
53
54
path : ./wheelhouse/*.whl
54
55
55
56
build_sdist :
@@ -64,16 +65,24 @@ jobs:
64
65
65
66
- uses : actions/upload-artifact@v4
66
67
with :
68
+ name : source-distribution
67
69
path : dist/*.tar.gz
68
70
69
- upload_pypi :
71
+ merge :
70
72
needs : [build_wheels, build_sdist]
71
73
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
72
81
if : github.event.inputs.upload_to_pypi == 'true'
73
82
steps :
74
83
- uses : actions/download-artifact@v4
75
84
with :
76
- name : artifact
85
+ name : merged-artifacts
77
86
path : dist
78
87
79
88
- uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments