We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3160e8d + 012ae48 commit f35d309Copy full SHA for f35d309
.github/workflows/update-major-minor-tag.yml
@@ -0,0 +1,30 @@
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/[email protected]
29
+ with:
30
+ source-tag: ${{ env.TAG_NAME }}
0 commit comments