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+ on :
3+ release :
4+ types : [released]
5+ workflow_dispatch :
6+ inputs :
7+ TAG_NAME :
8+ description : ' Tag name that the major tag will point to'
9+ required : true
10+
11+ env :
12+ TAG_NAME : ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
13+ permissions :
14+ contents : write
15+
16+ jobs :
17+ update_tag :
18+ name : Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
19+ environment :
20+ name : releaseNewActionVersion
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Update the ${{ env.TAG_NAME }} tag
24+ id : update-major-tag
25+ uses : actions/publish-action@v0.1.0
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