File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ jobs:
388388 name : Publish
389389 runs-on : ubuntu-latest
390390 environment : npm
391+ if : contains(github.ref, 'main')
391392 needs :
392393 - test-macOS-windows-binding
393394 - test-linux-binding
@@ -440,11 +441,9 @@ jobs:
440441 shell : bash
441442 - name : Update npm
442443 run : npm install -g npm@latest
443- - name : Pack
444- if : ${{ !contains(github.ref, 'main') }}
445- run : npm pack
446444 - name : Publish
447- if : contains(github.ref, 'main')
445+ env :
446+ GITHUB_TOKEN : ${{ github.token }}
448447 run : |
449448 if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
450449 then
Original file line number Diff line number Diff line change @@ -16,5 +16,8 @@ fix-python-soname
1616artifacts
1717build.rs
1818rust-toolchain.toml
19+ AGENTS.md
1920CLAUDE.md
2021Cargo.toml
22+ ! index.js
23+ ! index.d.ts
You can’t perform that action at this time.
0 commit comments