File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update the vX.Y tag
2
+
3
+ on :
4
+ release :
5
+ types : [released]
6
+ workflow_dispatch :
7
+ inputs :
8
+ TAG_NAME :
9
+ description : ' Tag name that the major.minor tag will point to'
10
+ required : true
11
+
12
+ env :
13
+ TAG_NAME : ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
14
+
15
+ jobs :
16
+ update_tag :
17
+ name : Update the major.minor tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
18
+ environment :
19
+ name : releaseNewActionVersion
20
+ runs-on : ubuntu-latest
21
+ permissions :
22
+ contents : write
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+
26
+ - name : Update the ${{ env.TAG_NAME }} tag
27
+ id : update-major-minor-tag
28
+ uses : joerick/update-vX.Y-tag-action@v1.0
29
+ with :
30
+ source-tag : ${{ env.TAG_NAME }}
You can’t perform that action at this time.
0 commit comments