Skip to content

Commit d6824b8

Browse files
committed
chore(ci): fixed artifact upload
1 parent 694bf62 commit d6824b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/python-packages.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: "Build and Publish Python Packages"
22

33
on:
44
push:
5-
tags: "v[0-9]+.[0-9]+.[0-9]+"
5+
tags:
6+
- "v[0-9]+\\.[0-9]+\\.[0-9]+"
7+
- "v[0-9]+\\.[0-9]+\\.[0-9]+-[0-9]+"
68

79
jobs:
810

@@ -66,7 +68,7 @@ jobs:
6668
- name: "Upload artifacts"
6769
uses: actions/upload-artifact@v4
6870
with:
69-
name: wheels
71+
name: wheels-${{ matrix.os }}
7072
path: ./wheelhouse/*.whl
7173
retention-days: 7
7274

@@ -87,7 +89,7 @@ jobs:
8789
run: |
8890
mkdir dist/
8991
mv sdist/* dist/
90-
mv wheels/*.whl dist/
92+
mv wheels-*/*.whl dist/
9193
9294
- name: "Publish packages on PyPI"
9395
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)