use different ci env var

This commit is contained in:
ivan grachev 2023-11-23 05:22:49 +03:00
parent faa222d76f
commit 6a2635f5c9

View File

@ -3,5 +3,5 @@ set -e
if [ "$CI_PRODUCT_PLATFORM" = 'macOS' ] && [ "$CI_XCODEBUILD_ACTION" = 'build-for-testing' ]; then if [ "$CI_PRODUCT_PLATFORM" = 'macOS' ] && [ "$CI_XCODEBUILD_ACTION" = 'build-for-testing' ]; then
sed -i'~' 's/ENABLE_HARDENED_RUNTIME = YES;/ENABLE_HARDENED_RUNTIME = NO;/g' \ sed -i'~' 's/ENABLE_HARDENED_RUNTIME = YES;/ENABLE_HARDENED_RUNTIME = NO;/g' \
"$CI_WORKSPACE/$CI_XCODE_PROJECT/project.pbxproj" "$CI_PROJECT_FILE_PATH/project.pbxproj"
fi fi