forked from aparnajyothi-y/nodejs-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 946 Bytes
/
nodepackage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Generate Node.js packages
run-name: Generate Node.js ${{ inputs.VERSION || '16.20.0' }}
on:
workflow_dispatch:
inputs:
VERSION:
description: 'Node.js version to build and upload'
required: true
default: '16.20.0'
PUBLISH_RELEASES:
description: 'Whether to publish releases'
required: true
type: boolean
default: false
#pull_request:
# paths-ignore:
#- 'versions-manifest.json'
#- 'LICENSE'
#- '**.md'
#branches:
#- 'main'
jobs:
node:
name: Node
uses: HarithaVattikuti/node-versions/.github/workflows/build-node-packages.yml@testnewversions
with:
tool-name: "node"
VERSION: ${{ inputs.VERSION || '16.20.0' }}
PUBLISH_RELEASES: ${{ inputs.PUBLISH_RELEASES || false }}
#tool-version: ${{ inputs.VERSION || '16.20.0' }}
#publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
secrets: inherit