Skip to content

Commit f0a9670

Browse files
authored
Fix integrity checking of wheel files during release (#1845)
1 parent bd04c18 commit f0a9670

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ jobs:
515515
- run: twine check --strict dist/*
516516

517517
- name: Test wheels integrity
518-
run: for whl in dist/*.whl; do unzip -qt "$z"; done
518+
run: for whl in dist/*.whl; do unzip -qt "$whl"; done
519519

520520
- uses: actions/upload-artifact@v4
521521
with:
@@ -569,6 +569,9 @@ jobs:
569569

570570
- run: ${{ (startsWith(matrix.platform.os, 'windows') && 'dir') || 'ls -lh' }} dist/
571571

572+
- name: Test wheels integrity
573+
run: for whl in dist/*.whl; do unzip -qt "$whl"; done
574+
572575
- uses: actions/upload-artifact@v4
573576
with:
574577
name: pypi_files_${{ matrix.platform.os }}_${{ matrix.interpreter }}
@@ -719,7 +722,7 @@ jobs:
719722
path: dist
720723

721724
- name: Test wheels integrity
722-
run: for whl in dist/*.whl; do unzip -qt "$z"; done
725+
run: for whl in dist/*.whl; do unzip -qt "$whl"; done
723726

724727
- run: uv publish --trusted-publishing always
725728

0 commit comments

Comments
 (0)