1 name: Kernel-Auto-Release
7 description: 'Commit ID'
11 description: 'Version Number (Ex. 10.4.0)'
17 name: Release Packager
18 runs-on: ubuntu-latest
22 uses: actions/setup-python@v2
24 python-version: 3.7.10
27 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 # Currently FreeRTOS/.github/scripts houses the release script. Download it for upcoming usage
30 - name: Checkout FreeRTOS Release Tools
31 uses: actions/checkout@v2
33 repository: FreeRTOS/FreeRTOS
36 # Simpler git auth if we use checkout action and forward the repo to release script
37 - name: Checkout FreeRTOS Kernel
38 uses: actions/checkout@v2
45 # Configure repo for push
46 git config --global user.name ${{ github.actor }}
47 git config --global user.email ${{ github.actor }}@users.noreply.github.com
49 # Install deps and run
50 pip install -r ./tools/.github/scripts/release-requirements.txt
51 ./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 }}
54 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}