File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 66 - v1
77 workflow_dispatch :
88
9-
109jobs :
1110 release :
1211 name : Release
@@ -42,17 +41,13 @@ jobs:
4241 release-type : terraform-module
4342 token : ${{ steps.token.outputs.token }}
4443 - name : Attest
44+ if : ${{ steps.release.outputs.releases_created == 'true' }}
4545 id : attest
4646 uses : actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
4747 with :
4848 subject-path : ' ${{ github.workspace }}/lambdas/functions/**/*.zip'
49- - name : ouptut attestation
50- run : |
51- echo "Attestation bundle: ${{ steps.attest.outputs.bundle-path }}"
52- echo "Attestation id: ${{ steps.attest.outputs.attestation-id }}"
53- echo "Attestation url: ${{ steps.attest.outputs.attestation-url }}"
5449 - name : Update release notes with attestation
55- if : github.event_name == 'workflow_dispatch'
50+ if : ${{ steps.release.outputs.releases_created == 'true' }}
5651 run : |
5752 gh release view ${{ github.event.inputs.version }} --json body -q '.body' > new-release-notes.md
5853 echo "## Attestation" >> new-release-notes.md
You can’t perform that action at this time.
0 commit comments