Skip to content

Commit 3d6a978

Browse files
committed
Testing publish
1 parent 95fec9f commit 3d6a978

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/testing.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Publish to NPM public registry on release
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
tag_name:
7+
description: 'Tag name'
8+
required: true
9+
default: 'v1.0.1'
510

611
permissions:
712
contents: read
@@ -21,7 +26,7 @@ jobs:
2126
echo "Publishing $TAG_NAME"
2227
npm version ${TAG_NAME} --git-tag-version=false
2328
env:
24-
TAG_NAME: v1.0.0
29+
TAG_NAME: ${{ github.event.inputs.tag_name }}
2530
- run: npm whoami; npm publish --access public
2631
env:
2732
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)