Skip to content

Commit 2e2eb33

Browse files
committed
updating release workflow
1 parent 2ef27ff commit 2e2eb33

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release-package.yml

+9
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ name: Publish Package to npmjs
22
on:
33
release:
44
types: [created]
5+
workflow_dispatch:
6+
inputs:
7+
branch:
8+
description: 'The branch to checkout'
9+
required: false
10+
default: 'master'
511
jobs:
612
build:
713
runs-on: ubuntu-latest
814
steps:
915
- uses: actions/checkout@v2
16+
with:
17+
ref: ${{ github.event.inputs.branch || 'master' }}
18+
1019
# Setup .npmrc file to publish to npm
1120
- uses: actions/setup-node@v2
1221
with:

0 commit comments

Comments
 (0)