File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2024 Ledger SAS
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ name : Release new reusable workflows version
6
+
7
+ on :
8
+ release :
9
+ types : [released]
10
+ workflow_dispatch :
11
+ inputs :
12
+ TAG_NAME :
13
+ description : ' Tag name that the major tag will point to'
14
+ required : true
15
+
16
+ env :
17
+ TAG_NAME : ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
18
+
19
+ jobs :
20
+ update_tag :
21
+ name : Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
22
+ runs-on : ubuntu-latest
23
+ environment : deploy
24
+ permissions :
25
+ contents : write
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ - name : Update the ${{ env.TAG_NAME }} tag
29
+ id : update-major-tag
30
+
31
+ with :
32
+ source-tag : ${{ env.TAG_NAME }}
You can’t perform that action at this time.
0 commit comments