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
5 changes: 1 addition & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ jobs:
name: Publish
runs-on: ubuntu-latest
environment: npm
if: contains(github.ref, 'main')
needs:
- test-macOS-windows-binding
- test-linux-binding
Expand Down Expand Up @@ -440,11 +441,7 @@ jobs:
shell: bash
- name: Update npm
run: npm install -g npm@latest
- name: Pack
if: ${{ !contains(github.ref, 'main') }}
run: npm pack
- name: Publish
if: contains(github.ref, 'main')
run: |
if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
then
Expand Down
Loading