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:
23
23
with :
24
24
fetch-depth : 0
25
25
ref : ${{ inputs.ref }}
26
- - name : update tag
26
+ - name : Config git name and email
27
27
run : |
28
28
git config user.name 'github-actions'
29
29
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 : |
30
33
git tag --delete ${{ inputs.tag }} || true
31
34
git push --delete origin ${{ inputs.tag }} || true
32
35
git tag -a ${{ inputs.tag }} -m 'Retag ${{ inputs.tag }}'
33
36
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 87
87
steps :
88
88
- name : Install action dependencies
89
89
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
91
91
- name : Install clang-tools binary executables
92
92
shell : bash
93
93
run : clang-tools -i ${{ inputs.version }} -b
You can’t perform that action at this time.
0 commit comments