File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 14
14
permissions :
15
15
contents : read
16
16
17
+ env :
18
+ FORCE_COLOR : 1
19
+
17
20
jobs :
18
21
# Always build & lint package.
19
22
build-package :
38
41
needs : build-package
39
42
40
43
permissions :
44
+ attestations : write
41
45
id-token : write
42
46
43
47
steps :
47
51
name : Packages
48
52
path : dist
49
53
54
+ - name : Attest build provenance
55
+ uses : actions/attest-build-provenance@v1
56
+ with :
57
+ subject-path : " dist/*"
58
+
50
59
- name : Upload package to Test PyPI
51
60
uses : pypa/gh-action-pypi-publish@release/v1
52
61
with :
62
71
needs : build-package
63
72
64
73
permissions :
74
+ attestations : write
65
75
id-token : write
66
76
67
77
steps :
71
81
name : Packages
72
82
path : dist
73
83
84
+ - name : Attest build provenance
85
+ uses : actions/attest-build-provenance@v1
86
+ with :
87
+ subject-path : " dist/*"
88
+
74
89
- name : Upload package to PyPI
75
90
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments