Skip to content

Commit 12ba9f0

Browse files
authored
Merge pull request #55 from ScrappyCocco/add-build-provenance-attestation
Attestation workflow
2 parents 66b744e + f9bafe1 commit 12ba9f0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/manual-publish-version.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,18 @@ jobs:
4040
url: https://pypi.org/p/howlongtobeatpy
4141
permissions:
4242
id-token: write # IMPORTANT: mandatory for trusted publishing
43+
attestations: write
44+
artifact-metadata: write
4345
steps:
4446
- name: Download all the dists
4547
uses: actions/download-artifact@v8
4648
with:
4749
name: python-package-distributions
4850
path: dist/
51+
- name: Attest build provenance
52+
uses: actions/attest@v4
53+
with:
54+
subject-path: dist/
4955
- name: Publish distribution 📦 to PyPI
5056
uses: pypa/gh-action-pypi-publish@release/v1
5157

0 commit comments

Comments
 (0)