From 9a86172607f7d855ab789dfce5261f8335bd92e2 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:16:01 -0400 Subject: [PATCH] build: fixup reclient use for prod builds (#44344) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt --- .github/actions/build-electron/action.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 66f02483138..8dd2b3a6f59 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -160,21 +160,19 @@ runs: run: | cd src gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true $GN_EXTRA_ARGS" - autoninja -C out/ffmpeg electron:electron_ffmpeg_zip -j $NUMBER_OF_NINJA_PROCESSES + e build --target electron:electron_ffmpeg_zip -C ../../out/ffmpeg -j $NUMBER_OF_NINJA_PROCESSES - name: Generate Hunspell Dictionaries ${{ inputs.step-suffix }} shell: bash if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'linux' }} run: | - cd src - autoninja -C out/Default electron:hunspell_dictionaries_zip -j $NUMBER_OF_NINJA_PROCESSES + e build --target electron:hunspell_dictionaries_zip -j $NUMBER_OF_NINJA_PROCESSES - name: Generate Libcxx ${{ inputs.step-suffix }} shell: bash if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'linux' }} run: | - cd src - autoninja -C out/Default electron:libcxx_headers_zip -j $NUMBER_OF_NINJA_PROCESSES - autoninja -C out/Default electron:libcxxabi_headers_zip -j $NUMBER_OF_NINJA_PROCESSES - autoninja -C out/Default electron:libcxx_objects_zip -j $NUMBER_OF_NINJA_PROCESSES + e build --target electron:libcxx_headers_zip -j $NUMBER_OF_NINJA_PROCESSES + e build --target electron:libcxxabi_headers_zip -j $NUMBER_OF_NINJA_PROCESSES + e build --target electron:libcxx_objects_zip -j $NUMBER_OF_NINJA_PROCESSES - name: Generate TypeScript Definitions ${{ inputs.step-suffix }} if: ${{ inputs.is-release == 'true' }} shell: bash