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