mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 00:37:44 -04:00
Add artifact backup action
This commit is contained in:
parent
e0aa5eac74
commit
b67ef3e3e2
1 changed files with 10 additions and 0 deletions
10
.github/workflows/auto-release.yml
vendored
10
.github/workflows/auto-release.yml
vendored
|
@ -13,6 +13,8 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-release:
|
auto-release:
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
name: Auto Release
|
name: Auto Release
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
@ -53,3 +55,11 @@ jobs:
|
||||||
pip install -r ./tools/.github/scripts/release-requirements.txt
|
pip install -r ./tools/.github/scripts/release-requirements.txt
|
||||||
./tools/.github/scripts/release.py "$GITHUB_ORG" --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
|
./tools/.github/scripts/release.py "$GITHUB_ORG" --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
|
- name: Backup Release Asset
|
||||||
|
uses: FreeRTOS/CI-CD-Github-Actions/artifact-backup@main
|
||||||
|
with:
|
||||||
|
# This is dependent on the release script putting this zip file
|
||||||
|
# in this exact location.
|
||||||
|
artifact_path: ./tools/.github/scripts/FreeRTOSv${{ github.event.inputs.version_number }}.zip
|
||||||
|
release_tag: ${{ github.event.inputs.version_number }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue