Skip to content

Commit 24545ae

Browse files
Add artifact backup action
1 parent 1cbb9a4 commit 24545ae

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
@@ -161,6 +161,8 @@ jobs:
161161
ref: ${{ github.event.inputs.version_number }}
162162
add_release: "true"
163163
create-release:
164+
permissions:
165+
id-token: write
164166
needs:
165167
- create-zip
166168
- deploy-doxygen
@@ -193,3 +195,8 @@ jobs:
193195
asset_path: ./coreSNTP-${{ github.event.inputs.version_number }}.zip
194196
asset_name: coreSNTP-${{ github.event.inputs.version_number }}.zip
195197
asset_content_type: application/zip
198+
- name: Backup Release Asset
199+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
200+
with:
201+
artifact_path: ./coreSNTP-${{ github.event.inputs.version_number }}.zip
202+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)