ci: switch to e build --gen=only

This commit is contained in:
David Sanders
2026-05-01 16:51:12 -07:00
parent f331dedf45
commit 947f0c11d6
2 changed files with 3 additions and 3 deletions

View File

@@ -143,10 +143,10 @@ jobs:
export GN_EXTRA_ARGS="$GN_EXTRA_ARGS use_v8_context_snapshot=true target_os=\"win\""
fi
e build --only-gen
e build --gen=only
# Copy macOS framework headers so clang-tidy can find them via -F.
# This must happen after e build --only-gen since e init -f may
# This must happen after e build since e init -f may
# recreate the output directory.
if [ "${{ inputs.target-platform }}" = "macos" ]; then
OUT=src/out/${ELECTRON_OUT_DIR}

View File

@@ -144,7 +144,7 @@ jobs:
export GN_EXTRA_ARGS="$GN_EXTRA_ARGS use_v8_context_snapshot=true target_os=\"win\""
fi
e build --only-gen
e build --gen=only
e d gn check out/Default //electron:electron_lib
e d gn check out/Default //electron:electron_app