Skip to content

Commit 0ed2131

Browse files
authored
Merge pull request #32 from adafruit/bump-upload-artifact-version
Continue work towards supporting upload-artifact@v4
2 parents 20c768d + d54f29d commit 0ed2131

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727

2828
- uses: actions/upload-artifact@v4
2929
with:
30+
name: sdist
3031
path: dist/*.tar.gz
32+
compression-level: 0
33+
if-no-files-found: error
3134

3235

3336
build_wheels:
@@ -42,13 +45,15 @@ jobs:
4245
include:
4346
- os: ubuntu-latest
4447
arch_linux: "aarch64"
45-
extra: "- aarch64"
48+
extra: " - aarch64"
4649
artifact-extra: "-aarch64"
4750
- os: ubuntu-latest
4851
arch_linux: "ppc64le"
52+
extra: " - ppc64le"
4953
artifact-extra: "-ppc64le"
5054
- os: ubuntu-latest
5155
arch_linux: "s390x"
56+
extra: " - s390x"
5257
artifact-extra: "-s390x"
5358
steps:
5459
- uses: actions/checkout@v4
@@ -75,10 +80,12 @@ jobs:
7580
with:
7681
name: wheel-${{ matrix.os }}${{ matrix.artifact-extra }}
7782
path: wheelhouse/*.whl
83+
compression-level: 0
84+
if-no-files-found: error
7885

7986

8087
upload_all:
81-
name: Upload if release
88+
name: Upload release
8289
needs: [build_wheels, build_sdist]
8390
runs-on: ubuntu-latest
8491
if: github.event_name == 'release' && github.event.action == 'published'
@@ -90,8 +97,8 @@ jobs:
9097

9198
- uses: actions/download-artifact@v4
9299
with:
93-
name: artifact
94100
path: dist
101+
merge-multiple: true
95102

96103
- uses: pypa/gh-action-pypi-publish@release/v1
97104
with:

0 commit comments

Comments
 (0)