Skip to content

Commit b67ef3e

Browse files
Add artifact backup action
1 parent e0aa5ea commit b67ef3e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/auto-release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313

1414
jobs:
1515
auto-release:
16+
permissions:
17+
id-token: write
1618
name: Auto Release
1719
runs-on: ubuntu-20.04
1820
steps:
@@ -53,3 +55,11 @@ jobs:
5355
pip install -r ./tools/.github/scripts/release-requirements.txt
5456
./tools/.github/scripts/release.py "$GITHUB_ORG" --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
5557
exit $?
58+
59+
- name: Backup Release Asset
60+
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
61+
with:
62+
# This is dependent on the release script putting this zip file
63+
# in this exact location.
64+
artifact_path: ./tools/.github/scripts/FreeRTOSv${{ github.event.inputs.version_number }}.zip
65+
release_tag: ${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)