From f494dbb6098d41b726510f4ab0c73c83b3e98440 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Tue, 14 Oct 2025 00:57:47 -0700 Subject: [PATCH] ci: upload build cache hit rate on Windows as well (#48550) --- .github/actions/build-electron/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 51b1a1b069..dddfe3a94f 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -66,7 +66,11 @@ runs: # Upload build stats to Datadog if ! [ -z $DD_API_KEY ]; then - npx node electron/script/build-stats.mjs out/Default/siso.INFO --upload-stats || true + if [ "$TARGET_PLATFORM" = "win" ]; then + npx node electron/script/build-stats.mjs out/Default/siso.exe.INFO --upload-stats || true + else + npx node electron/script/build-stats.mjs out/Default/siso.INFO --upload-stats || true + fi else echo "Skipping build-stats.mjs upload because DD_API_KEY is not set" fi