Update build.yml

This commit is contained in:
ConfiG 2024-06-28 23:16:36 +03:00 committed by GitHub
parent 2d13305dc5
commit b2dcbe73bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: