Commit e488d9d
Add node-gyp-build-major parameter to support v4 naming convention (#90)
* Add node-gyp-build-major parameter to support v4 naming convention
node-gyp-build v4 changed prebuild naming from:
prebuilds/${platform}${libc}-${arch}/node-${abi}.node
to a tag-based convention:
prebuilds/${platform}-${arch}/${name}[.musl].node.[napi|abi${N}].node
Add NODE_GYP_BUILD_MAJOR (default: 3) to prebuild/index.js, exposed as
node-gyp-build-major workflow input. When set to 4:
- Directory: platform-arch (no libc suffix; glibc is assumed by default)
- Filename: name[.musl].node.[napi|abi${N}].node (libc encoded as tag)
- Artifact upload uses prebuilds/**/* to match the new directory names
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Pin action references to support-node-gyp-build-v4 branch SHA
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix lint: use single quotes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Pin action references to updated branch SHA
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Restore action SHA pins to main
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b9488a5 commit e488d9d
3 files changed
Lines changed: 51 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
30 | 62 | | |
31 | 63 | | |
32 | 64 | | |
| |||
57 | 89 | | |
58 | 90 | | |
59 | 91 | | |
60 | | - | |
| 92 | + | |
61 | 93 | | |
62 | 94 | | |
63 | 95 | | |
| |||
124 | 156 | | |
125 | 157 | | |
126 | 158 | | |
127 | | - | |
128 | | - | |
| 159 | + | |
| 160 | + | |
129 | 161 | | |
130 | 162 | | |
131 | 163 | | |
132 | 164 | | |
133 | | - | |
| 165 | + | |
134 | 166 | | |
135 | 167 | | |
136 | 168 | | |
| |||
0 commit comments