From cc9d85d3caf8f4dd99d29b310d99029ef50d488b Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Mon, 21 Oct 2024 14:07:02 -0400 Subject: [PATCH] build: fixup reclient use for prod builds (#44340) --- .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 c1923de992a..170dac8f97d 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -159,21 +159,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