@@ -126,6 +126,7 @@ jobs:
126
126
- *shared
127
127
- *node
128
128
- 'dev-packages/node-integration-tests/**'
129
+ - 'packages/nestjs/**'
129
130
nextjs:
130
131
- *shared
131
132
- *browser
@@ -408,10 +409,11 @@ jobs:
408
409
DEPENDENCY_CACHE_KEY : ${{ needs.job_build.outputs.dependency_cache_key }}
409
410
410
411
- name : Extract Profiling Node Prebuilt Binaries
411
- uses : actions/download-artifact@v3
412
+ uses : actions/download-artifact@v4
412
413
with :
413
- name : profiling-node-binaries-${{ github.sha }}
414
+ pattern : profiling-node-binaries-${{ github.sha }}-*
414
415
path : ${{ github.workspace }}/packages/profiling-node/lib/
416
+ merge-multiple : true
415
417
416
418
- name : Pack tarballs
417
419
run : yarn build:tarball
@@ -901,16 +903,15 @@ jobs:
901
903
run : yarn lerna run build:lib --scope @sentry/profiling-node
902
904
903
905
- name : Extract Profiling Node Prebuilt Binaries
904
- # @TODO: v4 breaks convenient merging of same name artifacts
905
- # https://github.com/actions/upload-artifact/issues/478
906
906
if : |
907
907
(needs.job_get_metadata.outputs.changed_profiling_node_bindings == 'true') ||
908
908
(needs.job_get_metadata.outputs.is_release == 'true') ||
909
909
(github.event_name != 'pull_request')
910
- uses : actions/download-artifact@v3
910
+ uses : actions/download-artifact@v4
911
911
with :
912
- name : profiling-node-binaries-${{ github.sha }}
912
+ pattern : profiling-node-binaries-${{ github.sha }}-*
913
913
path : ${{ github.workspace }}/packages/profiling-node/lib/
914
+ merge-multiple : true
914
915
915
916
- name : Build Profiling tarball
916
917
run : yarn build:tarball
@@ -1230,11 +1231,11 @@ jobs:
1230
1231
- name : Build Profiling Node
1231
1232
run : yarn lerna run build:lib --scope @sentry/profiling-node
1232
1233
- name : Extract Profiling Node Prebuilt Binaries
1233
- uses : actions/download-artifact@v3
1234
+ uses : actions/download-artifact@v4
1234
1235
with :
1235
- name : profiling-node-binaries-${{ github.sha }}
1236
+ pattern : profiling-node-binaries-${{ github.sha }}-*
1236
1237
path : ${{ github.workspace }}/packages/profiling-node/lib/
1237
-
1238
+ merge-multiple : true
1238
1239
- name : Restore tarball cache
1239
1240
uses : actions/cache/restore@v4
1240
1241
with :
@@ -1358,104 +1359,132 @@ jobs:
1358
1359
# x64 glibc
1359
1360
- os : ubuntu-20.04
1360
1361
node : 16
1362
+ binary : linux-x64-glibc-93
1361
1363
- os : ubuntu-20.04
1362
1364
node : 18
1365
+ binary : linux-x64-glibc-108
1363
1366
- os : ubuntu-20.04
1364
1367
node : 20
1368
+ binary : linux-x64-glibc-115
1365
1369
- os : ubuntu-20.04
1366
1370
node : 22
1371
+ binary : linux-x64-glibc-127
1367
1372
1368
1373
# x64 musl
1369
1374
- os : ubuntu-20.04
1370
1375
container : node:16-alpine3.16
1376
+ binary : linux-x64-musl-93
1371
1377
node : 16
1372
1378
- os : ubuntu-20.04
1373
1379
container : node:18-alpine3.17
1374
1380
node : 18
1381
+ binary : linux-x64-musl-108
1375
1382
- os : ubuntu-20.04
1376
1383
container : node:20-alpine3.17
1377
1384
node : 20
1385
+ binary : linux-x64-musl-115
1378
1386
- os : ubuntu-20.04
1379
1387
container : node:22-alpine3.18
1380
1388
node : 22
1389
+ binary : linux-x64-musl-127
1381
1390
1382
1391
# arm64 glibc
1383
1392
- os : ubuntu-20.04
1384
1393
arch : arm64
1385
1394
node : 16
1395
+ binary : linux-arm64-glibc-93
1386
1396
- os : ubuntu-20.04
1387
1397
arch : arm64
1388
1398
node : 18
1399
+ binary : linux-arm64-glibc-108
1389
1400
- os : ubuntu-20.04
1390
1401
arch : arm64
1391
1402
node : 20
1403
+ binary : linux-arm64-glibc-115
1392
1404
- os : ubuntu-20.04
1393
1405
arch : arm64
1394
1406
node : 22
1407
+ binary : linux-arm64-glibc-127
1395
1408
1396
1409
# arm64 musl
1397
1410
- os : ubuntu-20.04
1398
1411
container : node:16-alpine3.16
1399
1412
arch : arm64
1400
1413
node : 16
1414
+ binary : linux-arm64-musl-93
1401
1415
- os : ubuntu-20.04
1402
1416
arch : arm64
1403
1417
container : node:18-alpine3.17
1404
1418
node : 18
1419
+ binary : linux-arm64-musl-108
1405
1420
- os : ubuntu-20.04
1406
1421
arch : arm64
1407
1422
container : node:20-alpine3.17
1408
1423
node : 20
1424
+ binary : linux-arm64-musl-115
1409
1425
- os : ubuntu-20.04
1410
1426
arch : arm64
1411
1427
container : node:22-alpine3.18
1412
1428
node : 22
1429
+ binary : linux-arm64-musl-127
1413
1430
1414
1431
# macos x64
1415
1432
- os : macos-13
1416
1433
node : 16
1417
1434
arch : x64
1435
+ binary : darwin-x64-93
1418
1436
- os : macos-13
1419
1437
node : 18
1420
1438
arch : x64
1439
+ binary : darwin-x64-108
1421
1440
- os : macos-13
1422
1441
node : 20
1423
1442
arch : x64
1443
+ binary : darwin-x64-115
1424
1444
- os : macos-13
1425
1445
node : 22
1426
1446
arch : x64
1447
+ binary : darwin-x64-127
1427
1448
1428
1449
# macos arm64
1429
1450
- os : macos-13
1430
1451
arch : arm64
1431
1452
node : 16
1432
1453
target_platform : darwin
1454
+ binary : darwin-arm64-93
1433
1455
- os : macos-13
1434
1456
arch : arm64
1435
1457
node : 18
1436
1458
target_platform : darwin
1459
+ binary : darwin-arm64-108
1437
1460
- os : macos-13
1438
1461
arch : arm64
1439
1462
node : 20
1440
1463
target_platform : darwin
1464
+ binary : darwin-arm64-115
1441
1465
- os : macos-13
1442
1466
arch : arm64
1443
1467
node : 22
1444
1468
target_platform : darwin
1469
+ binary : darwin-arm64-127
1445
1470
1446
1471
# windows x64
1447
1472
- os : windows-2022
1448
1473
node : 16
1449
1474
arch : x64
1475
+ binary : win32-x64-93
1450
1476
- os : windows-2022
1451
1477
node : 18
1452
1478
arch : x64
1479
+ binary : win32-x64-108
1453
1480
- os : windows-2022
1454
1481
node : 20
1455
1482
arch : x64
1483
+ binary : win32-x64-115
1456
1484
- os : windows-2022
1457
1485
node : 22
1458
1486
arch : x64
1487
+ binary : win32-x64-127
1459
1488
1460
1489
steps :
1461
1490
- name : Setup (alpine)
@@ -1587,10 +1616,8 @@ jobs:
1587
1616
yarn lerna run test --scope @sentry/profiling-node
1588
1617
1589
1618
- name : Archive Binary
1590
- # @TODO: v4 breaks convenient merging of same name artifacts
1591
- # https://github.com/actions/upload-artifact/issues/478
1592
- uses : actions/upload-artifact@v3
1619
+ uses : actions/upload-artifact@v4
1593
1620
with :
1594
- name : profiling-node-binaries-${{ github.sha }}
1595
- path : |
1596
- ${{ github.workspace }}/packages/profiling-node/lib/*.node
1621
+ name : profiling-node-binaries-${{ github.sha }}-${{ matrix.binary }}
1622
+ path : ${{ github.workspace }}/packages/profiling-node/lib/sentry_cpu_profiler-${{matrix.binary}}.node
1623
+ if-no-files-found : error
0 commit comments