File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ jobs:
139
139
subject-path: '${{ github.workspace }}/my-app'
140
140
` ` `
141
141
142
- # ## Identify Subjects by Wildcard
142
+ # ## Identify Multiple Subjects
143
143
144
144
If you are generating multiple artifacts, you can generate a provenance
145
145
attestation for each by using a wildcard in the `subject-path` input.
@@ -153,6 +153,23 @@ attestation for each by using a wildcard in the `subject-path` input.
153
153
For supported wildcards along with behavior and documentation, see
154
154
[@actions/glob][8] which is used internally to search for files.
155
155
156
+ Alternatively, you can explicitly list multiple subjects with either a comma or
157
+ newline delimited list :
158
+
159
+ ` ` ` yaml
160
+ - uses: actions/attest-build-provenance@v1
161
+ with:
162
+ subject-path: 'dist/foo, dist/bar'
163
+ ` ` `
164
+
165
+ ` ` ` yaml
166
+ - uses: actions/attest-build-provenance@v1
167
+ with:
168
+ subject-path: |
169
+ dist/foo
170
+ dist/bar
171
+ ` ` `
172
+
156
173
# ## Container Image
157
174
158
175
When working with container images you can invoke the action with the
You can’t perform that action at this time.
0 commit comments