Skip to content

Commit bcecff7

Browse files
committed
Fix build release job following actions v4 upgrade
1 parent 1040bb8 commit bcecff7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build_release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
- uses: actions/upload-artifact@v4
2626
with:
27+
name: smt-${{ matrix.os }}
2728
path: ./wheelhouse/*.whl
2829

2930
build_sdist:
@@ -37,6 +38,7 @@ jobs:
3738

3839
- uses: actions/upload-artifact@v4
3940
with:
41+
name: smt-src
4042
path: dist/*.tar.gz
4143

4244
upload_pypi:
@@ -48,9 +50,8 @@ jobs:
4850
steps:
4951
- uses: actions/download-artifact@v4
5052
with:
51-
# unpacks default artifact into dist/
52-
# if `name: artifact` is omitted, the action will create extra parent dir
53-
name: artifact
53+
pattern: smt-*
54+
merge-multiple: true
5455
path: dist
5556

5657
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)