We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ef27ff commit 2e2eb33Copy full SHA for 2e2eb33
.github/workflows/release-package.yml
@@ -2,11 +2,20 @@ name: Publish Package to npmjs
2
on:
3
release:
4
types: [created]
5
+ workflow_dispatch:
6
+ inputs:
7
+ branch:
8
+ description: 'The branch to checkout'
9
+ required: false
10
+ default: 'master'
11
jobs:
12
build:
13
runs-on: ubuntu-latest
14
steps:
15
- uses: actions/checkout@v2
16
+ with:
17
+ ref: ${{ github.event.inputs.branch || 'master' }}
18
+
19
# Setup .npmrc file to publish to npm
20
- uses: actions/setup-node@v2
21
with:
0 commit comments