Skip to content

Commit d66ddfb

Browse files
committed
fix upload v4 issues
1 parent 8f5beba commit d66ddfb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build_wheels.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
uses: actions/upload-artifact@v4
7171
with:
7272
overwrite: true
73+
name: my-artifact-${{ matrix.runs-on }}
7374
path: ./wheelhouse/*.whl
7475

7576
build_sdist:
@@ -101,11 +102,13 @@ jobs:
101102
needs: [ build_wheels, build_sdist ]
102103
runs-on: ubuntu-latest
103104
steps:
105+
- name: Download All Artifacts
104106
- uses: actions/download-artifact@v4
105107
with:
106-
name: artifact
107-
path: dist
108-
108+
path: ./wheelhouse
109+
pattern: my-artifact-*
110+
merge-multiple: true
111+
- run: ls -R my-artifact
109112
- name: Publish to PyPI
110113
if: ${{ github.event.inputs.target == 'PYPI' }}
111114
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)