Skip to content

Commit 7c2ea8b

Browse files
committed
upload sig json
Signed-off-by: Anas Nashif <[email protected]>
1 parent 4f7ac55 commit 7c2ea8b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060

6161

6262
# This step uses 'gh-action-sigstore-python' to sign the file designated in the inputs field.
63-
- uses: sigstore/[email protected]
63+
- name: Sign
64+
uses: sigstore/[email protected]
6465
with:
6566
inputs: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
6667

@@ -74,3 +75,14 @@ jobs:
7475
asset_path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
7576
asset_name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
7677
asset_content_type: text/plain
78+
79+
- name: Upload Release Assets (Sig)
80+
id: upload-release-asset
81+
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
82+
env:
83+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
with:
85+
upload_url: ${{ steps.create_release.outputs.upload_url }}
86+
asset_path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx.sigstore.json
87+
asset_name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx.sigstore.json
88+
asset_content_type: application/json

0 commit comments

Comments
 (0)