From b3d1ced3b6c59a19d3771ca127614dba8311089b Mon Sep 17 00:00:00 2001 From: mkorwel Date: Tue, 21 Apr 2026 23:00:01 +0000 Subject: [PATCH] ci: skip build steps in setup action when using pre-built artifact --- .github/actions/setup-gemini/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-gemini/action.yml b/.github/actions/setup-gemini/action.yml index 25d9f48912..8888c5dced 100644 --- a/.github/actions/setup-gemini/action.yml +++ b/.github/actions/setup-gemini/action.yml @@ -44,11 +44,12 @@ runs: shell: 'bash' - name: 'Build Core (Required for all tests)' + if: "${{ inputs.skip-npm-ci != 'true' }}" run: 'npm run build --workspace @google/gemini-cli-core' shell: 'bash' - + - name: 'Build from source' - if: "${{ inputs.mode == 'source' }}" + if: "${{ inputs.mode == 'source' && inputs.skip-npm-ci != 'true' }}" run: 'npm run build' shell: 'bash'