1 name: Kernel-Auto-Release
7 description: 'Commit ID'
11 description: 'Version Number (Ex. 10.4.4)'
15 description: "Version String for task.h on main branch (leave empty to leave as-is)."
21 name: Release Packager
22 runs-on: ubuntu-latest
26 uses: actions/setup-python@v2
28 python-version: 3.7.10
31 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33 # Currently FreeRTOS/.github/scripts houses the release script. Download it for upcoming usage
34 - name: Checkout FreeRTOS Release Tools
35 uses: actions/checkout@v2
37 repository: FreeRTOS/FreeRTOS
40 # Simpler git auth if we use checkout action and forward the repo to release script
41 - name: Checkout FreeRTOS Kernel
42 uses: actions/checkout@v2
49 # Configure repo for push
50 git config --global user.name ${{ github.actor }}
51 git config --global user.email ${{ github.actor }}@users.noreply.github.com
52 # Install deps and run
53 pip install -r ./tools/.github/scripts/release-requirements.txt
54 ./tools/.github/scripts/release.py FreeRTOS --kernel-repo-path=local_kernel --kernel-commit=${{ github.event.inputs.commit_id }} --new-kernel-version=${{ github.event.inputs.version_number }} --new-kernel-main-br-version=${{ github.event.inputs.main_br_version }}
57 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}