From 5421c42282195a08e2818e47901e09e006fe9a03 Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 20 Mar 2026 23:12:37 -0300 Subject: [PATCH] build: search for correct exe file --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41aa9a7..3ee16bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,7 +99,9 @@ jobs: - name: Package Build run: | - EXE=$(find build -name "*.exe" | head -1) + # Use -not -path "*/CMakeFiles/*" to exclude the temporary "a.exe" files + EXE=$(find build -name "*.exe" -not -path "*/CMakeFiles/*" | head -1) + echo "Found EXE: $EXE" mkdir -p release cp "$EXE" release/ cp res/*.json release/