Skip to content

Commit 03a463f

Browse files
Add artifact backup action
1 parent 4024417 commit 03a463f

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
@@ -124,6 +124,8 @@ jobs:
124124
ref: ${{ github.event.inputs.version_number }}
125125
add_release: "true"
126126
create-release:
127+
permissions:
128+
id-token: write
127129
needs:
128130
- create-zip
129131
- deploy-doxygen
@@ -155,3 +157,8 @@ jobs:
155157
asset_path: ./coreJSON-${{ github.event.inputs.version_number }}.zip
156158
asset_name: coreJSON-${{ github.event.inputs.version_number }}.zip
157159
asset_content_type: application/zip
160+
- name: Backup Release Asset
161+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
162+
with:
163+
artifact_path: ./coreJSON-${{ github.event.inputs.version_number }}.zip
164+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)