From e45173805a8e2e0553e7d3cff7937dcf5dfbd695 Mon Sep 17 00:00:00 2001 From: Matej Kriz Date: Fri, 21 Feb 2025 16:21:14 +0100 Subject: [PATCH] fixup! feat(ci): automate preview build on PR for both ios and android --- .github/workflows/build-suite-native-preview.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-suite-native-preview.yml b/.github/workflows/build-suite-native-preview.yml index ef0cc569294..0421097e410 100644 --- a/.github/workflows/build-suite-native-preview.yml +++ b/.github/workflows/build-suite-native-preview.yml @@ -79,10 +79,10 @@ jobs: # Check if there is a build with the same fingerprint on EAS already EXISTING_BUILD_ANDROID=$(eas build:list --build-profile=preview --channel=preview --limit=1 --non-interactive --json --runtime-version=$RUNTIME_VERSION_ANDROID) if [ "$EXISTING_BUILD_ANDROID" = "[]" ]; then - echo "No build with runtimeVersion $EXISTING_BUILD_ANDROID found" + echo "No build with runtimeVersion $RUNTIME_VERSION_ANDROID found" echo "RUNTIME_BUILD_EXISTS_ANDROID=false" >> $GITHUB_ENV else - echo "Found build with runtimeVersion $EXISTING_BUILD_ANDROID" + echo "Found build with runtimeVersion $RUNTIME_VERSION_ANDROID" echo "$EXISTING_BUILD_ANDROID" echo "RUNTIME_BUILD_EXISTS_ANDROID=true" >> $GITHUB_ENV fi @@ -96,10 +96,10 @@ jobs: # Check if there is a build with the same fingerprint on EAS already EXISTING_BUILD_IOS=$(eas build:list --build-profile=preview --channel=preview --limit=1 --non-interactive --json --runtime-version=$RUNTIME_VERSION_IOS) if [ "$EXISTING_BUILD_IOS" = "[]" ]; then - echo "No build with runtimeVersion $EXISTING_BUILD_IOS found" + echo "No build with runtimeVersion $RUNTIME_VERSION_IOS found" echo "RUNTIME_BUILD_EXISTS_IOS=false" >> $GITHUB_ENV else - echo "Found build with runtimeVersion $EXISTING_BUILD_IOS" + echo "Found build with runtimeVersion $RUNTIME_VERSION_IOS" echo "$EXISTING_BUILD_IOS" echo "RUNTIME_BUILD_EXISTS_IOS=true" >> $GITHUB_ENV fi