File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,13 @@ jobs:
41
41
release-type : terraform-module
42
42
token : ${{ steps.token.outputs.token }}
43
43
- name : Attest
44
+ if : ${{ steps.release.outputs.releases_created == 'true' }}
44
45
id : attest
45
46
uses : actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
46
47
with :
47
48
subject-path : ' ${{ github.workspace }}/lambdas/functions/**/*.zip'
48
- - name : ouptut attestation
49
- run : |
50
- echo "Attestation bundle: ${{ steps.attest.outputs.bundle-path }}"
51
- echo "Attestation id: ${{ steps.attest.outputs.attestation-id }}"
52
- echo "Attestation url: ${{ steps.attest.outputs.attestation-url }}"
53
49
- name : Update release notes with attestation
54
- if : github.event_name == 'workflow_dispatch'
50
+ if : ${{ steps.release.outputs.releases_created == 'true' }}
55
51
run : |
56
52
gh release view ${{ github.event.inputs.version }} --json body -q '.body' > new-release-notes.md
57
53
echo "## Attestation" >> new-release-notes.md
You can’t perform that action at this time.
0 commit comments