File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,9 @@ jobs:
251
251
assertion :
252
252
name : Generate and Sign Assertion Documents
253
253
needs : [vars, binary]
254
+ permissions :
255
+ contents : read
256
+ id-token : write # for compliance-rules action to sign assertion doc
254
257
env :
255
258
GOPROXY : ${{ needs.vars.outputs.goproxy }}
256
259
runs-on : ubuntu-24.04
@@ -272,10 +275,11 @@ jobs:
272
275
run : |
273
276
echo "Generating module dependencies info..."
274
277
cd cmd/gateway
275
- go list -m all > ../../goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ strategy.job-index }}.txt
276
- echo "Module dependencies saved to goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ strategy.job-index }}.txt"
278
+ goversionm=goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ matrix.gateway.os }}_${{ matrix.gateway.arch }}.txt
279
+ go list -m all > ../../goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ matrix.gateway.os }}_${{ matrix.gateway.arch }}.txt
280
+ echo "Module dependencies saved to goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ matrix.gateway.os }}_${{ matrix.gateway.arch }}.txt"
277
281
cd ../..
278
- echo "goversionm=goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ strategy.job-index }}.txt" >> $GITHUB_OUTPUT
282
+ echo "goversionm=goversionm_${{ github.run_id }}_${{ github.run_number }}_${{ matrix.gateway.os }}_${{ matrix.gateway.arch }}.txt" >> $GITHUB_OUTPUT
279
283
280
284
- name : Generate Assertion Document
281
285
id : assertiondoc
You can’t perform that action at this time.
0 commit comments