Skip to content

Commit

Permalink
Generate digital attestations for PyPI (PEP 740)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 27, 2024
1 parent 5f2eeba commit 6ed4c79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
permissions:
contents: read

env:
FORCE_COLOR: 1

jobs:
# Always build & lint package.
build-package:
Expand Down Expand Up @@ -47,6 +50,7 @@ jobs:
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true
repository-url: https://test.pypi.org/legacy/

# Publish to PyPI on GitHub Releases.
Expand Down Expand Up @@ -78,3 +82,5 @@ jobs:

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true

0 comments on commit 6ed4c79

Please sign in to comment.