Skip to content

Commit

Permalink
Check wheel files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 10, 2024
1 parent 3447f2a commit b57b51b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ jobs:
cd wheel
wheel unpack ((Get-ChildItem -Path . -Filter *.whl)[0].Name)
ls -r .
# TODO check that wheel contains no .c, .pyx, or .pxi files
If (((Get-ChildItem -Path . -Recurse -Include ("*.pyx", "*.pxi", "*.c"))).Length -Ne 0) {
throw "Wheel contains .pyx, .pxi, or .c files."
}
cd ..
- name: Upload wheel
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b57b51b

Please sign in to comment.