File tree 1 file changed +6
-11
lines changed
1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -17,35 +17,30 @@ jobs:
17
17
with :
18
18
fetch-depth : 0
19
19
20
- - name : Build package
21
- run : pipx run build
22
-
23
- - uses : actions/upload-artifact@v4
24
- with :
25
- path : dist/*
20
+ - uses : hynek/build-and-inspect-python-package@v2
26
21
27
22
deploy :
28
23
if : github.event_name == 'release' && github.event.action == 'published'
24
+ needs : [dist]
29
25
runs-on : ubuntu-latest
30
26
environment :
31
27
name : pypi
32
28
url : https://pypi.org/p/scikit-build-core
33
29
permissions :
34
30
id-token : write
35
31
attestations : write
36
- contents : read
37
-
38
- needs : [dist]
39
32
40
33
steps :
41
34
- uses : actions/download-artifact@v4
42
35
with :
43
- name : artifact
36
+ name : Packages
44
37
path : dist
45
38
46
39
- name : Generate artifact attestation for sdist and wheel
47
- uses : actions/attest-build-provenance@v1.4.3
40
+ uses : actions/attest-build-provenance@v1
48
41
with :
49
42
subject-path : " dist/*"
50
43
51
44
- uses : pypa/gh-action-pypi-publish@release/v1
45
+ with :
46
+ attestations : true
You can’t perform that action at this time.
0 commit comments