From 2137057294904d422c96b924ba9d5821588eb682 Mon Sep 17 00:00:00 2001 From: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Date: Thu, 3 Jul 2025 12:30:49 -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 0a98396..40391ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,8 @@ jobs: name: ${{ env.repostiory_zip_name }} path: zip-check/${{ env.repostiory_zip_name }} create-release: + permissions: + id-token: write needs: create-zip name: Create Release and Upload Release Asset runs-on: ubuntu-latest @@ -119,3 +121,8 @@ jobs: asset_path: ./${{ env.repostiory_zip_name }} asset_name: ${{ env.repostiory_zip_name }} asset_content_type: application/zip + - name: Backup Release Asset + uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main + with: + artifact_path: ./${{ env.repostiory_zip_name }} + release_tag: ${{ github.event.inputs.version_number }}