File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,17 @@ jobs:
3838 fetch-depth : 0
3939
4040 - name : Release
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ ACTOR : ${{ github.actor }}
44+ COMMIT_ID : ${{ github.event.inputs.commit_id }}
45+ VERSION_NUMBER : ${{ github.event.inputs.version_number }}
4146 run : |
4247 # Configure repo for push
43- git config --global user.name ${{ github.actor }}
44- git config --global user.email ${{ github.actor }} @users.noreply.github.com
48+ git config --global user.name "$ACTOR"
49+ git config --global user.email "$ACTOR" @users.noreply.github.com
4550
4651 # Run the release script
4752 pip install -r ./tools/.github/scripts/release-requirements.txt
48- ./tools/.github/scripts/release.py FreeRTOS --core-repo-path=local_core --core-commit=${{ github.event.inputs.commit_id }} --new-core-version=${{ github.event.inputs.version_number }}
53+ ./tools/.github/scripts/release.py FreeRTOS --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
4954 exit $?
50- env :
51- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments