Skip to content

Commit 90a780e

Browse files
committed
Introduce release action workflow
1 parent 93af5c4 commit 90a780e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release new action version
2+
3+
on:
4+
release:
5+
types: [released]
6+
workflow_dispatch:
7+
inputs:
8+
TAG_NAME:
9+
description: "Tag name that the major tag will point to"
10+
required: true
11+
12+
env:
13+
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
14+
permissions:
15+
contents: write
16+
17+
jobs:
18+
update_tag:
19+
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Update the ${{ env.TAG_NAME }} tag
23+
uses: actions/[email protected]
24+
with:
25+
source-tag: ${{ env.TAG_NAME }}

0 commit comments

Comments
 (0)