diff --git a/.github/workflows/_publish_package.yml b/.github/workflows/_publish_package.yml index db609fc..3f03fec 100644 --- a/.github/workflows/_publish_package.yml +++ b/.github/workflows/_publish_package.yml @@ -9,13 +9,14 @@ jobs: environment: release permissions: id-token: write + attestations: write steps: - uses: actions/download-artifact@v4 with: name: artifact path: ./dist/ - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3 + uses: actions/attest-build-provenance@v1 with: subject-path: "dist/*" - uses: pypa/gh-action-pypi-publish@release/v1