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: