File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 14
14
build-linux :
15
15
name : Build for ${{matrix.target}}
16
16
runs-on : ubuntu-latest
17
+ permissions :
18
+ id-token : write
19
+ contents : read
20
+ attestations : write
17
21
strategy :
18
22
fail-fast : false
19
23
matrix :
39
43
run : |
40
44
mv target/${{ matrix.target }}/release/parseable Parseable_OSS_${{ matrix.target }}
41
45
46
+ - name : Generate artifact attestation
47
+ uses : actions/attest-build-provenance@v1
48
+ with :
49
+ subject-path : Parseable_OSS_${{ matrix.target }}
50
+
42
51
- name : Create Artifact
43
52
uses : actions/upload-artifact@v4
44
53
with :
56
65
57
66
build-windows :
58
67
runs-on : windows-latest
68
+ permissions :
69
+ id-token : write
70
+ contents : read
71
+ attestations : write
59
72
steps :
60
73
- name : Checkout
61
74
uses : actions/checkout@v1
75
88
run : |
76
89
mv target/x86_64-pc-windows-msvc/release/PARSEABLE.exe Parseable_OSS_x86_64-pc-windows-msvc.exe
77
90
91
+ - name : Generate artifact attestation
92
+ uses : actions/attest-build-provenance@v1
93
+ with :
94
+ subject-path : Parseable_OSS_x86_64-pc-windows-msvc.exe
95
+
78
96
- name : Create artifact for Windows
79
97
uses : actions/upload-artifact@v4
80
98
with :
@@ -92,6 +110,10 @@ jobs:
92
110
93
111
build-mac :
94
112
runs-on : macos-latest
113
+ permissions :
114
+ id-token : write
115
+ contents : read
116
+ attestations : write
95
117
strategy :
96
118
matrix :
97
119
target :
@@ -120,6 +142,11 @@ jobs:
120
142
run : |
121
143
mv target/${{ matrix.target }}/release/Parseable Parseable_OSS_${{ matrix.target }}
122
144
145
+ - name : Generate artifact attestation
146
+ uses : actions/attest-build-provenance@v1
147
+ with :
148
+ subject-path : Parseable_OSS_${{ matrix.target }}
149
+
123
150
- name : Create artifact
124
151
uses : actions/upload-artifact@v4
125
152
with :
You can’t perform that action at this time.
0 commit comments