Skip to content

Commit 3297fda

Browse files
committed
Add: platform suffix to Linux wheel filenames for artifact merging
1 parent 0e283e0 commit 3297fda

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
uses: PyO3/maturin-action@v1
3636
with:
3737
args: --release --out dist --interpreter python
38+
- name: Add unique suffix to wheel filenames
39+
run: |
40+
for file in dist/*.whl; do
41+
mv "$file" "${file%.whl}-${{ matrix.platform.runner }}.whl"
42+
done
3843
- name: Validate wheels after building
3944
run: |
4045
for file in dist/*.whl; do
@@ -170,6 +175,13 @@ jobs:
170175
ls -lh dist/**/*.whl
171176
file dist/**/*.whl
172177
178+
- name: List and verify all artifacts
179+
run: |
180+
echo "Distributions in dist/"
181+
find dist -type f
182+
echo "Inspecting file types:"
183+
file dist/* 2>/dev/null || true
184+
173185
- name: Validate wheels
174186
run: |
175187
for file in dist/**/*.whl; do

0 commit comments

Comments
 (0)