File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,21 @@ jobs:
2323 with :
2424 fetch-depth : 0
2525 ref : ${{ inputs.ref }}
26- - name : update tag
26+ - name : Config git name and email
2727 run : |
2828 git config user.name 'github-actions'
2929 git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
30+ - name : Update tag with parameter
31+ if : github.event.inputs.tag != ''
32+ run : |
3033 git tag --delete ${{ inputs.tag }} || true
3134 git push --delete origin ${{ inputs.tag }} || true
3235 git tag -a ${{ inputs.tag }} -m 'Retag ${{ inputs.tag }}'
3336 git push origin ${{ inputs.tag }}
37+ - name : Update tag to v2
38+ if : github.event.inputs.tag == ''
39+ run : |
40+ git tag --delete v2 || true
41+ git push --delete origin v2 || true
42+ git tag -a v2 -m 'Retag v2'
43+ git push origin v2
Original file line number Diff line number Diff line change 8787 steps :
8888 - name : Install action dependencies
8989 shell : bash
90- run : python3 -m pip install clang-tools cpp-linter==1.4.7
90+ run : python3 -m pip install clang-tools cpp-linter==1.4.8
9191 - name : Install clang-tools binary executables
9292 shell : bash
9393 run : clang-tools -i ${{ inputs.version }} -b
You can’t perform that action at this time.
0 commit comments