Skip to content

Commit

Permalink
fixup! feat(ci): automate preview build on PR for both ios and android
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkriz committed Feb 21, 2025
1 parent f8c7bc5 commit e451738
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-suite-native-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e451738

Please sign in to comment.