Skip to content

Commit

Permalink
Generate Artifact Attestation (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 authored Nov 19, 2024
1 parent 68f9689 commit 3eeb856
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ jobs:
with:
python-version: "3.10"

- name: Install build
run: python -m pip install build

- name: Build sdist
run: pipx run build --sdist
run: python -m build --sdist

- uses: actions/upload-artifact@v4
with:
Expand All @@ -78,5 +81,10 @@ jobs:
path: dist
merge-multiple: true

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: 'dist/*'

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 3eeb856

Please sign in to comment.