We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95fec9f commit 3d6a978Copy full SHA for 3d6a978
1 file changed
.github/workflows/testing.yml
@@ -2,6 +2,11 @@ name: Publish to NPM public registry on release
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ tag_name:
7
+ description: 'Tag name'
8
+ required: true
9
+ default: 'v1.0.1'
10
11
permissions:
12
contents: read
@@ -21,7 +26,7 @@ jobs:
21
26
echo "Publishing $TAG_NAME"
22
27
npm version ${TAG_NAME} --git-tag-version=false
23
28
env:
24
- TAG_NAME: v1.0.0
29
+ TAG_NAME: ${{ github.event.inputs.tag_name }}
25
30
- run: npm whoami; npm publish --access public
31
32
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments