File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-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+ permissions :
19+ contents : write
20+
21+ jobs :
22+ update_tag :
23+ name : Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
24+ runs-on : ubuntu-latest
25+ environment : deploy
26+ steps :
27+ - name : Update the ${{ env.TAG_NAME }} tag
28+ 29+ with :
30+ source-tag : ${{ env.TAG_NAME }}
You can’t perform that action at this time.
0 commit comments