From 68e6d9547f70f05613848a2174d50f4e445748ca Mon Sep 17 00:00:00 2001 From: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Date: Wed, 2 Jul 2025 15:25:32 -0700 Subject: [PATCH] Add artifact backup action --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e57c47e..a434d119 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,6 +126,8 @@ jobs: ref: ${{ github.event.inputs.version_number }} add_release: "true" create-release: + permissions: + id-token: write needs: - create-zip - deploy-doxygen @@ -157,3 +159,9 @@ jobs: asset_path: ./corePKCS11-${{ github.event.inputs.version_number }}.zip asset_name: corePKCS11-${{ github.event.inputs.version_number }}.zip asset_content_type: application/zip + - name: Backup Release Asset + id: backup_release_asset + uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main + with: + artifact_path: ./corePKCS11-${{ github.event.inputs.version_number }}.zip + release_tag: ${{ github.event.inputs.version_number }}