Skip to content

Commit 0525091

Browse files
committed
Prebuild v3.0.0 / all platforms / N-API 7
1 parent 439ea70 commit 0525091

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/prebuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
fail-fast: false
5252
matrix:
5353
node: [21]
54-
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
54+
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
5555
name: ${{ matrix.canvas_tag }}, Node.js ${{ matrix.node }}, Linux
5656
runs-on: ubuntu-latest
5757
container:
@@ -144,7 +144,7 @@ jobs:
144144
fail-fast: false
145145
matrix:
146146
node: [21]
147-
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
147+
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
148148
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, macOS
149149
runs-on: macos-latest
150150
env:
@@ -217,7 +217,7 @@ jobs:
217217
fail-fast: false
218218
matrix:
219219
node: [21]
220-
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
220+
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
221221
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, Windows
222222
runs-on: windows-2019
223223
env:

prebuild/tarball.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Generate the node-gyp formatted filename from the node environment
1+
# Generate the prebuild-install formatted filename from the node environment
22
FILENAME=$(
33
node -e "
44
var p = process, v = p.versions, libc = require('detect-libc').familySync() || 'unknown';
5+
if (libc === 'glibc') libc = '';
56
const tagName = p.env.UPLOAD_TO || p.env.CANVAS_VERSION_TO_BUILD;
6-
console.log(['canvas', tagName, 'node-v' + v.modules, p.platform, libc, p.arch].join('-'));
7+
console.log('canvas-v' + tagName + '-napi-v7-' + p.platform + libc + '-' + p.arch);
78
"
89
).tar.gz;
910

0 commit comments

Comments
 (0)