From 90233a8e498c1ac46b3296c8600258b32fbe2302 Mon Sep 17 00:00:00 2001 From: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Date: Thu, 3 Jul 2025 12:29:34 -0700 Subject: [PATCH] Add artifact backup action --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0823f0f..f9c8fac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,6 +161,8 @@ jobs: ref: ${{ github.event.inputs.version_number }} add_release: "true" create-release: + permissions: + id-token: write needs: - create-zip - deploy-doxygen @@ -193,3 +195,8 @@ jobs: asset_path: ./coreSNTP-${{ github.event.inputs.version_number }}.zip asset_name: coreSNTP-${{ github.event.inputs.version_number }}.zip asset_content_type: application/zip + - name: Backup Release Asset + uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main + with: + artifact_path: ./coreSNTP-${{ github.event.inputs.version_number }}.zip + release_tag: ${{ github.event.inputs.version_number }}