We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0150cc0 commit 46fd4d0Copy full SHA for 46fd4d0
.github/workflows/ci.yml
@@ -65,19 +65,28 @@ jobs:
65
66
- uses: actions/upload-artifact@v4
67
with:
68
+ name: Packages
69
path: dist
70
71
publish:
72
needs: [dist]
- environment: release
73
+ environment: pypi
74
permissions:
75
id-token: write
76
+ attestations: write
77
+ contents: read
78
runs-on: ubuntu-latest
79
if: github.event_name == 'release' && github.event.action == 'published'
80
+
81
steps:
82
- uses: actions/download-artifact@v4
83
84
name: Packages
85
86
87
+ - name: Generate artifact attestation for sdist and wheel
88
+ uses: actions/attest-build-provenance@v1.4.3
89
+ with:
90
+ subject-path: "dist/*"
91
92
- uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments