Skip to content

Commit 3f8ea5f

Browse files
davidbuzinskiDavid Buzinski
andauthored
Add attestations (#99)
* add attestations * update comment * update permissions --------- Co-authored-by: David Buzinski <davidb@d13-dev.dhcp.mathworks.com>
1 parent 16e9f86 commit 3f8ea5f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
types: published
55
permissions:
66
contents: write
7+
id-token: write
8+
attestations: write
9+
artifact-metadata: write
710

811
jobs:
912
build:
@@ -37,6 +40,11 @@ jobs:
3740
- name: Perform npm tasks
3841
run: npm run ci
3942

43+
- name: Generate signed attestations for workflow artifacts
44+
uses: actions/attest@v4
45+
with:
46+
subject-path: dist/bin/**/run-matlab-command*
47+
4048
# Finally, create a detached commit containing the built artifacts and tag
4149
# it with the release. Note: the fact that the branch is locally updated
4250
# will not be relayed (pushed) to origin

0 commit comments

Comments
 (0)