Skip to content

Commit 1eb6081

Browse files
Add artifact backup action
1 parent d7b04a1 commit 1eb6081

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ jobs:
298298
add_release: "true"
299299

300300
create-release:
301+
permissions:
302+
id-token: write
301303
needs:
302304
- create-zip
303305
- deploy-doxygen
@@ -332,4 +334,9 @@ jobs:
332334
asset_path: ./${{ env.repository_zip_name }}
333335
asset_name: ${{ env.repository_zip_name }}
334336
asset_content_type: application/zip
335-
337+
338+
- name: Backup Release Asset
339+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
340+
with:
341+
artifact_path: ./${{ env.repository_zip_name }}
342+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)