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