Configure GitHub Actions for Automated iOS and Android Builds on Merge to Main #131
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.
Overview
This pull request configures GitHub Actions to automate the build process for our project. The configuration ensures that a build is triggered whenever a merge occurs on the main branch. Additionally, the setup has been updated to support both iOS and Android builds.
Features Added
GitHub Actions Configuration:
Trigger on Merge:
Configured GitHub Actions to initiate a build whenever a merge is performed on the main branch.
iOS and Android Build Support:
Updated the workflow to include steps for building both iOS and Android versions of the application.
Technical Changes
New Configuration Files:
.github/workflows/build.yml:
Created a new workflow file that defines the steps for building the application on both iOS and Android platforms.
Includes job definitions for setting up the environment, installing dependencies, and executing the build process.
app.json
eas.json
package.json
Environment Setup:
iOS Build:
npm run build will be able to to build ios based on your specification
Android Build: