Skip to content

Commit

Permalink
Use release attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Sep 3, 2024
1 parent 7ccb3eb commit e4c3fb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,18 @@ jobs:
name: Deploy packages
needs: [build_wheels]
runs-on: ubuntu-22.04
environment: release
environment:
name: release
url: https://pypi.org/p/scitacean/
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v4
- uses: pypa/gh-action-pypi-publish@v1.10.0
with:
attestations: true

docs:
needs: upload_packages
Expand Down

0 comments on commit e4c3fb2

Please sign in to comment.