From ae4602573b859f66559767d2f10b6470b14606a7 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Sun, 14 Jan 2024 20:04:52 +0100 Subject: [PATCH] Update build action --- .github/actions/xcbuild/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/xcbuild/action.yml b/.github/actions/xcbuild/action.yml index f89faa5..6492d62 100644 --- a/.github/actions/xcbuild/action.yml +++ b/.github/actions/xcbuild/action.yml @@ -14,6 +14,9 @@ inputs: required: true APPLE_DEVELOPMENT_SIGNING_P12_PASSWORD: required: true + DOWNLOAD_DEPENDENCIES: + required: true + default: true DEPLOYMENT_SIGNING_CERTIFICATE: required: false DEPLOYMENT_SIGNING_CERTIFICATE_P12_PASSWORD: @@ -96,6 +99,7 @@ runs: KEYCHAIN_PASSWORD: ${{ inputs.KEYCHAIN_PASSWORD }} - name: Download dependencies + if: ${{ inputs.DOWNLOAD_DEPENDENCIES }} shell: bash run: brew bundle @@ -110,7 +114,6 @@ runs: shell: bash run: xcrun xcodebuild -workspace $XC_WORKSPACE -scheme $XC_SCHEME -showBuildSettings - # build is launched up to twice as it's common the build fails, looking for CoreKiwix module - name: Build with Xcode env: FRAMEWORK_SEARCH_PATHS: ${{ env.PWD }}