Repository navigation
fix(ci): run Codemagic store builds on the Mac instance with the EAS env - #3
Merged
Merged
Conversation
The OpenIAP team plan offers no Linux instance, so linux_x2 builds fail before they start. The Mac image carries the Android SDK, so both Android workflows move to mac_mini_m2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
eas-cli evaluates app.config.ts before it loads the environment. With EAS_BUILD_PROFILE=production already set, the config's required ad-id guard saw no EXPO_PUBLIC_* values and env:exec failed, which stopped the first ios-production run at that step. Unset the EAS_BUILD_* names for that one command; every later step still runs the guards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first production runs failed in two ways. This PR fixes both.
6afc8b67a8d25ca1eea914f6stopped before running with: "The selected instance type is not available with the current billing plan." The OpenIAP team plan has no Linux instance, soandroid-productionandandroid-qa-releasenow run onmac_mini_m2. The Mac image also carries the Android SDK.6afc8b673031bfd49193367f, eas-cli evaluatedapp.config.tsbefore loading the environment. BecauseEAS_BUILD_PROFILE=productionwas already set, the config's required ad-id guard found noEXPO_PUBLIC_*values andenv:execfailed. That single command now runs withEAS_BUILD_PROFILEandEAS_BUILD_PLATFORMunset. Every later step still applies the guards.Verification
expo config --json exited with non-zero code: 1). With the fix, the same command returns all 21EXPO_PUBLIC_*values.🤖 Generated with Claude Code