Skip to content

Commit f7cecbf

Browse files
committed
Back to v4 but merge names
1 parent ac3dc9a commit f7cecbf

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Check metadata
2222
run: pipx run twine check dist/*
2323

24-
- uses: actions/upload-artifact@v3
24+
- uses: actions/upload-artifact@v4
2525
with:
26+
name: artifact-sdist
2627
path: dist/*.tar.gz
2728

2829
build_wheels:
@@ -90,8 +91,9 @@ jobs:
9091
python -m cibuildwheel --output-dir wheelhouse
9192
9293
# Upload binaries to github
93-
- uses: actions/upload-artifact@v3
94+
- uses: actions/upload-artifact@v4
9495
with:
96+
name: artifact-wheel-${{ matrix.cpversion }}-${{ matrix.os.cibw-arch }}
9597
path: |-
9698
./wheelhouse/*.whl
9799
./wheelhouse/*.tar.gz
@@ -105,10 +107,11 @@ jobs:
105107
# alternatively, to publish when a GitHub Release is created, use the following rule:
106108
if: github.event_name == 'release' && github.event.action == 'published'
107109
steps:
108-
- uses: actions/download-artifact@v3
110+
- uses: actions/download-artifact@v4
109111
with:
110-
name: artifact
112+
merge-multiple: true
111113
path: dist
114+
pattern: artifact-*
112115

113116
- uses: pypa/gh-action-pypi-publish@v1.8.11
114117
with:

0 commit comments

Comments
 (0)