Skip to content

Commit

Permalink
ci: update job slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Oct 2, 2024
1 parent ee7fa96 commit 2117077
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -38,13 +29,14 @@ 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
with:
subject-path: "dist/cibuildwheel-*"

- uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true

0 comments on commit 2117077

Please sign in to comment.