From 2bf66bd55408704b49fc2def0cc003932d419cf9 Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:20:00 -0800 Subject: [PATCH 1/4] chore: polish prebuilds pipeline --- pipelines/prebuilds.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipelines/prebuilds.yml b/pipelines/prebuilds.yml index b6934a93..4d300b8c 100644 --- a/pipelines/prebuilds.yml +++ b/pipelines/prebuilds.yml @@ -2,6 +2,7 @@ trigger: branches: include: - main +pr: none resources: repositories: @@ -102,6 +103,7 @@ extends: arch: arm64 - stage: Archive + dependsOn: Build jobs: - job: archive pool: From 932627cd13e9ce4c25a9b90abc468abf6d8670cb Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:21:53 -0800 Subject: [PATCH 2/4] chore: add explicit include --- pipelines/prebuilds.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pipelines/prebuilds.yml b/pipelines/prebuilds.yml index 4d300b8c..947f21fc 100644 --- a/pipelines/prebuilds.yml +++ b/pipelines/prebuilds.yml @@ -2,6 +2,12 @@ trigger: branches: include: - main + paths: + include: + - '**.cc' + - '**.h' + - '**.c' + - 'deps/**' pr: none resources: From b45a4260c839b164c6ae338ec7d7a300124da368 Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:23:43 -0800 Subject: [PATCH 3/4] Scrap explicit include in case of gyp or other changes --- pipelines/prebuilds.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pipelines/prebuilds.yml b/pipelines/prebuilds.yml index 947f21fc..4d300b8c 100644 --- a/pipelines/prebuilds.yml +++ b/pipelines/prebuilds.yml @@ -2,12 +2,6 @@ trigger: branches: include: - main - paths: - include: - - '**.cc' - - '**.h' - - '**.c' - - 'deps/**' pr: none resources: From e1479b88e969b6c96017739d1109f38ba6ae290b Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:30:47 -0800 Subject: [PATCH 4/4] chore: force commit hashes to match --- pipelines/prebuilds.yml | 2 +- publish.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipelines/prebuilds.yml b/pipelines/prebuilds.yml index 4d300b8c..2e7bc34c 100644 --- a/pipelines/prebuilds.yml +++ b/pipelines/prebuilds.yml @@ -132,7 +132,7 @@ extends: outputs: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory)/prebuilds - artifactName: 'prebuilds' + artifactName: 'prebuilds-$(Build.SourceVersion)' steps: - script: | mkdir -p $(Build.ArtifactStagingDirectory)/prebuilds diff --git a/publish.yml b/publish.yml index 19770cab..f3d78e7d 100644 --- a/publish.yml +++ b/publish.yml @@ -47,7 +47,7 @@ extends: definition: '647' buildVersionToDownload: 'latestFromBranch' branchName: 'refs/heads/main' - artifactName: 'prebuilds' + artifactName: 'prebuilds-$(Build.SourceVersion)' targetPath: 'prebuilds' - pwsh: | Get-ChildItem -Path . -Recurse -Directory -Name "_manifest" | Remove-Item -Recurse -Force @@ -70,7 +70,7 @@ extends: definition: '647' buildVersionToDownload: 'latestFromBranch' branchName: 'refs/heads/main' - artifactName: 'prebuilds' + artifactName: 'prebuilds-$(Build.SourceVersion)' targetPath: 'prebuilds' - bash: chmod +x prebuilds/darwin-*/spawn-helper displayName: 'Ensure spawn-helper is executable'