node-versions/.github/workflows/build-node-packages.yml

31 lines
810 B
YAML
Raw Normal View History

2022-12-06 17:37:54 +00:00
name: Generate Node.js packages
run-name: Generate Node.js ${{ inputs.VERSION || '18.12.0' }}
2020-08-19 10:38:27 +00:00
on:
workflow_dispatch:
inputs:
VERSION:
2020-08-24 08:10:43 +00:00
description: 'Node.js version to build and upload'
2020-08-19 10:38:27 +00:00
required: true
2022-12-06 17:37:54 +00:00
default: '18.12.0'
2020-08-19 10:38:27 +00:00
PUBLISH_RELEASES:
description: 'Whether to publish releases'
required: true
2022-12-06 17:37:54 +00:00
type: boolean
default: false
pull_request:
paths-ignore:
- 'versions-manifest.json'
- 'LICENSE'
- '**.md'
branches:
- 'main'
2020-08-19 10:38:27 +00:00
jobs:
2022-12-06 17:37:54 +00:00
node:
name: Node
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main
with:
tool-name: "node"
tool-version: ${{ inputs.VERSION || '18.12.0' }}
publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
secrets: inherit