ci: fix build (#259996)

This commit is contained in:
Robo
2025-08-06 17:44:45 +09:00
committed by GitHub
parent 43a9dc0df3
commit 53fa43adfa
@@ -276,12 +276,12 @@ steps:
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
mkdir -Force .build/codesign-cpuprofile
mkdir -Force .build/node-cpuprofile
exec { npx deemon --detach --wait -- -- npx zx build/azure-pipelines/win32/codesign.js }
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
NODE_DEBUG: "net,child_process"
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/codesign-cpuprofile"
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/node-cpuprofile"
displayName: ✍️ Codesign
- ${{ if or(eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true), eq(parameters.VSCODE_RUN_BROWSER_TESTS, true), eq(parameters.VSCODE_RUN_REMOTE_TESTS, true)) }}:
@@ -306,7 +306,7 @@ steps:
condition: succeededOrFailed()
env:
NODE_DEBUG: "net,child_process"
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/codesign-cpuprofile"
NODE_OPTIONS: "--report-filename=stdout --report-uncaught-exception --report-on-fatalerror --cpu-prof --cpu-prof-dir=.build/node-cpuprofile"
displayName: "✍️ Post-job: Codesign"
- powershell: |
@@ -340,8 +340,8 @@ steps:
- task: 1ES.PublishPipelineArtifact@1
inputs:
targetPath: .build/codesign-cpuprofile
artifactName: node-cpuprofile
targetPath: .build/node-cpuprofile
artifactName: node-cpuprofile-$(VSCODE_ARCH)
sbomEnabled: false
displayName: Publish Codesign cpu profile