Skip to content

Commit c497624

Browse files
Update publish.yml
1 parent ac16775 commit c497624

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
name: nodejs-package
109109
path: nodejs/*.tgz
110110
- name: Publish to npm
111-
if: github.ref == 'refs/heads/main'
111+
if: github.ref == 'refs/heads/main' || github.event.inputs.dist-tag == 'unstable'
112112
run: npm publish --tag ${{ github.event.inputs.dist-tag }} --access public --registry https://registry.npmjs.org
113113

114114
publish-dotnet:

0 commit comments

Comments
 (0)