File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,15 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout code
19- uses : actions/checkout@v2
19+ uses : actions/checkout@v4.1.1
2020 with :
2121 ref : ${{ github.event.inputs.commit_id }}
2222 - name : Configure git identity
2323 run : |
24- git config --global user.name "Release Workflow"
24+ git config --global user.name ${{ github.actor }}
25+ git config --global user.email ${{ github.actor }}@users.noreply.github.com
26+ - name : create a new branch that references commit id
27+ run : git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
2528 - name : Tag Commit and Push to remote
2629 run : |
2730 git tag ${{ github.event.inputs.version_number }} -a -m "Release ${{ github.event.inputs.version_number }}"
4043 - name : Install ZIP tools
4144 run : sudo apt-get install zip unzip
4245 - name : Checkout code
43- uses : actions/checkout@v2
46+ uses : actions/checkout@v4.1.1
4447 with :
4548 ref : ${{ github.event.inputs.commit_id }}
4649 path : FreeRTOS-LTS
6265 ls FreeRTOSv${{ github.event.inputs.version_number }}
6366 diff -r -x "*.git*" FreeRTOSv${{ github.event.inputs.version_number }}/FreeRTOS-LTS/ ../FreeRTOS-LTS/
6467 - name : Create artifact of ZIP
65- uses : actions/upload-artifact@v2
68+ uses : actions/upload-artifact@v4
6669 with :
6770 name : FreeRTOSv${{ github.event.inputs.version_number }}.zip
6871 path : zip-check/FreeRTOSv${{ github.event.inputs.version_number }}.zip
You can’t perform that action at this time.
0 commit comments