simplify script

This commit is contained in:
Bruno Alexandre Rosa 2025-10-10 18:02:22 -03:00
parent 4a9b71e400
commit 4a0b44cda6
2 changed files with 4 additions and 14 deletions

View file

@ -332,9 +332,9 @@ jobs:
CMAKE_GENERATOR: '${{env.CMAKE_GENERATOR}}'
VCPKG_DISABLE_METRICS: 1
VCPKG_BINARY_SOURCES: 'clear;files,${{ steps.vcpkg-cache.outputs.path }},readwrite'
# if Intel, pass the flag and set to matrix.target, otherwise do nothing
TARGET_MACOS_VERSION_FLAG: ${{ matrix.soc == 'Intel' && format('--target-macos-version {0}', matrix.target) || '' }}
run: .ci/compile.sh --server --test --ccache "$CCACHE_SIZE" --vcpkg ${{ env.TARGET_MACOS_VERSION_FLAG }}
# if Intel, set the target macOS version to matrix.target, otherwise empty string
TARGET_MACOS_VERSION: ${{ matrix.soc == 'Intel' && matrix.target || '' }}
run: .ci/compile.sh --server --test --ccache "$CCACHE_SIZE" --vcpkg
- name: Sign app bundle
if: matrix.make_package && (github.ref == 'refs/heads/master' || needs.configure.outputs.tag != null)