Fix always releasing master as NPM package (#6763)

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-12-15 10:35:00 -05:00
1 parent 83d2b12cca
commit 15930d910f
2 files changed
+15

No files matched your search

+10
View File
@@ -1,7 +1,16 @@
name: Publish NPM Package Release
on:
workflow_call:
inputs:
version:
required: true
type: string
workflow_dispatch:
inputs:
version:
required: true
type: string
description: The version to release manually
jobs:
publish:
name: Publish NPM Package Release
@@ -14,6 +23,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ inputs.version }}
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3