diff --git a/build/azure-pipelines/win32/product-build-win32.yml b/build/azure-pipelines/win32/product-build-win32.yml index a74935a08af..5eeab9025cb 100644 --- a/build/azure-pipelines/win32/product-build-win32.yml +++ b/build/azure-pipelines/win32/product-build-win32.yml @@ -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