Skip to content

Commit bb87dc1

Browse files
committed
add version input for GitHub release workflow
Signed-off-by: rafi <refaei.shikho@hotmail.com>
1 parent 37625be commit bb87dc1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Build
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version tag (e.g. v1.0.0)'
8+
required: true
9+
10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
512

613
permissions:
714
contents: write
@@ -61,5 +68,6 @@ jobs:
6168
- name: Create GitHub Release
6269
uses: softprops/action-gh-release@v2
6370
with:
71+
tag_name: ${{ github.event.inputs.version }}
6472
files: artifacts/*
6573
generate_release_notes: true

0 commit comments

Comments
 (0)