ci: update job slightly (#2028)

* ci: update job slightly

* Ignore check-wheel-content W002

---------

Co-authored-by: mayeut <mayeut@users.noreply.github.com>
This commit is contained in:
Henry Schreiner
2024-10-02 14:52:36 -04:00
committed by GitHub
co-authored by mayeut
parent 2e8e511106
commit d5c6a83aeb
2 changed files with 7 additions and 12 deletions
+4 -12
View File
@@ -13,16 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build SDist and wheel
run: pipx run build
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*
- name: Check metadata
run: pipx run twine check dist/*
- uses: hynek/build-and-inspect-python-package@v2
publish:
needs: [dist]
@@ -38,9 +29,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
name: Packages
path: dist
merge-multiple: true
- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
@@ -48,3 +38,5 @@ jobs:
subject-path: "dist/cibuildwheel-*"
- uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true