We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc816d4 commit e3cbca7Copy full SHA for e3cbca7
1 file changed
.github/workflows/CI.yml
@@ -388,6 +388,7 @@ jobs:
388
name: Publish
389
runs-on: ubuntu-latest
390
environment: npm
391
+ if: contains(github.ref, 'main')
392
needs:
393
- test-macOS-windows-binding
394
- test-linux-binding
@@ -440,11 +441,7 @@ jobs:
440
441
shell: bash
442
- name: Update npm
443
run: npm install -g npm@latest
- - name: Pack
444
- if: ${{ !contains(github.ref, 'main') }}
445
- run: npm pack
446
- name: Publish
447
- if: contains(github.ref, 'main')
448
run: |
449
if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
450
then
0 commit comments