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/