Skip to content

Commit 2137057

Browse files
Add artifact backup action
1 parent d628228 commit 2137057

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
@@ -90,6 +90,8 @@ jobs:
9090
name: ${{ env.repostiory_zip_name }}
9191
path: zip-check/${{ env.repostiory_zip_name }}
9292
create-release:
93+
permissions:
94+
id-token: write
9395
needs: create-zip
9496
name: Create Release and Upload Release Asset
9597
runs-on: ubuntu-latest
@@ -119,3 +121,8 @@ jobs:
119121
asset_path: ./${{ env.repostiory_zip_name }}
120122
asset_name: ${{ env.repostiory_zip_name }}
121123
asset_content_type: application/zip
124+
- name: Backup Release Asset
125+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
126+
with:
127+
artifact_path: ./${{ env.repostiory_zip_name }}
128+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)