From b2dcbe73bd44f17288a24ae49d88d07591c2d5eb Mon Sep 17 00:00:00 2001 From: ConfiG Date: Fri, 28 Jun 2024 23:16:36 +0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9254ffd5..718cf661 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,6 +149,7 @@ jobs: uses: ./.github/actions/build-debug-info with: has-sccache: ${{ inputs.use-ccache }} + if: inputs.build-debug-info - name: Setup caches uses: ./.github/actions/setup-cache @@ -156,7 +157,6 @@ jobs: host: mac target: mac use-ccache: ${{ github.event_name != 'workflow_dispatch' || inputs.use-ccache }} - if: false - name: Setup Ninja uses: ./.github/actions/setup-ninja @@ -205,7 +205,7 @@ jobs: uses: ./.github/actions/build-debug-info-post with: target: mac - if: success() || failure() + if: inputs.build-debug-info && (success() || failure()) build-android: strategy: