Skip to content

Commit ff3ca37

Browse files
Add artifact backup action
1 parent 28ca8cb commit ff3ca37

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
ref: ${{ github.event.inputs.version_number }}
107107
add_release: "true"
108108
create-release:
109+
permissions:
110+
id-token: write
109111
needs:
110112
- create-zip
111113
- deploy-doxygen
@@ -137,3 +139,8 @@ jobs:
137139
asset_path: ./Device-Shadow-for-AWS-IoT-embedded-sdk-${{ github.event.inputs.version_number }}.zip
138140
asset_name: Device-Shadow-for-AWS-IoT-embedded-sdk-${{ github.event.inputs.version_number }}.zip
139141
asset_content_type: application/zip
142+
- name: Backup Release Asset
143+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
144+
with:
145+
artifact_path: ./Device-Shadow-for-AWS-IoT-embedded-sdk-${{ github.event.inputs.version_number }}.zip
146+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)