From a4f201a5f389a4926e5cab50d86bcb747a5df013 Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Wed, 12 Jun 2024 23:13:17 -0500 Subject: [PATCH] build: add needed steps/tweaks to Linux publish job (#42477) * build: add libcxx to Linux publish * build: temp change ref to branch * build: remove hunspell dictionaries * build: modify release build script for linux * build: switch back to main --- .github/workflows/linux-pipeline.yml | 11 ++++------- .github/workflows/linux-publish.yml | 2 +- script/release/ci-release-build.js | 1 + 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux-pipeline.yml b/.github/workflows/linux-pipeline.yml index aed3c5603f18..49be09a53654 100644 --- a/.github/workflows/linux-pipeline.yml +++ b/.github/workflows/linux-pipeline.yml @@ -385,16 +385,13 @@ jobs: 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 - - name: Generate Hunspell Dictionaries + - name: Maybe Generate Libcxx if: ${{ inputs.is-release }} run: | cd src - autoninja -C out/Default electron:hunspell_dictionaries_zip -j $NUMBER_OF_NINJA_PROCESSES - - name: Generate TypeScript Definitions - if: ${{ inputs.is-release }} - run: | - cd src/electron - node script/yarn create-typescript-definitions + 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 - name: Publish Electron Dist if: ${{ inputs.is-release }} run: | diff --git a/.github/workflows/linux-publish.yml b/.github/workflows/linux-publish.yml index ba1c340aaa7b..edfd928be718 100644 --- a/.github/workflows/linux-publish.yml +++ b/.github/workflows/linux-publish.yml @@ -8,7 +8,7 @@ on: required: false default: '1' type: string - run-macos-publish: + run-linux-publish: description: 'Run the publish jobs vs just the build jobs' type: boolean default: false diff --git a/script/release/ci-release-build.js b/script/release/ci-release-build.js index cde96bd6c659..2401cd0ecd04 100644 --- a/script/release/ci-release-build.js +++ b/script/release/ci-release-build.js @@ -33,6 +33,7 @@ const circleCIPublishIndividualArches = { }; const ghActionsPublishWorkflows = [ + 'linux-publish', 'macos-publish' ];