Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,13 @@ jobs:
with:
name: release-build
path: _release/
- name: Update npm
run: npm install -g npm@latest
- name: Publish to npm with tag ${{ github.event.inputs.tag_name }}
if: ${{ github.event.inputs.tag_name }}
working-directory: _release
run: yarn publish --tag ${{ github.event.inputs.tag_name }}
run: npm publish --tag ${{ github.event.inputs.tag_name }}
- name: Publish to npm with tag latest
if: ${{ !github.event.inputs.tag_name }}
working-directory: _release
run: yarn publish
run: npm publish
Loading