Skip to content

Commit 743e163

Browse files
committed
Prompt node.js version in gh actions
1 parent e617861 commit 743e163

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: Release
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
nodeVersion:
7+
description: "Node.js version"
8+
required: true
49

510
env:
6-
LIBNODE_NODE_VERSION: v16.12.0
11+
LIBNODE_NODE_VERSION: ${{ github.event.inputs.nodeVersion }}
712

813
jobs:
914
build:

0 commit comments

Comments
 (0)