We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec05d7 commit 9fa1c67Copy full SHA for 9fa1c67
.github/workflows/release.yml
@@ -0,0 +1,26 @@
1
+# Copyright (c) 2018 GitHub, Inc. and contributors
2
+
3
+name: Release new action version
4
+on:
5
+ release:
6
+ types: [released]
7
+ workflow_dispatch:
8
+ inputs:
9
+ TAG_NAME:
10
+ description: 'Tag name that the major tag will point to'
11
+ required: true
12
13
+env:
14
+ TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
15
+permissions:
16
+ contents: write
17
18
+jobs:
19
+ update_tag:
20
+ name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - name: Update the ${{ env.TAG_NAME }} tag
24
+ uses: actions/[email protected]
25
+ with:
26
+ source-tag: ${{ env.TAG_NAME }}
0 commit comments