We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c7a25 commit 5533ad0Copy full SHA for 5533ad0
.github/workflows/release-new-version.yml
@@ -0,0 +1,29 @@
1
+# SPDX-FileCopyrightText: 2024 Ledger SAS
2
+#
3
+# SPDX-License-Identifier: Apache-2.0
4
+
5
+name: Release new action 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
+ steps:
26
+ - name: Update the ${{ env.TAG_NAME }} tag
27
+ uses: actions/[email protected]
28
+ with:
29
+ source-tag: ${{ env.TAG_NAME }}
0 commit comments