upload-builduploads your iOS or Android build (.zipor.apk).run-testsruns your tests against that build and reports pass or fail.
MobileBoostHQ/actions.
Add your credentials
In your repository, go to Settings > Secrets and variables > Actions. In the Secrets tab, create a repository secret:MOBILEBOOST_API_KEY: Your MobileBoost API key, such asmb_live_....
MOBILEBOOST_ORG_ID: Your MobileBoost organization ID.
You can find your API key and organization ID in the MobileBoost dashboard.
You can also ask your MobileBoost contact for them.
Add a workflow
Create.github/workflows/mobileboost.yml in your repository:
main - when the PR is opened and on each new commit (synchronize), before the code is merged. Each run uploads the build, runs the tests tagged smoke, waits for them to finish, and fails the job if any test fails. The run summary includes a result table and recording links.
On the
pull_request trigger, builds from forked repositories run without access to your repository secrets, so MOBILEBOOST_API_KEY would be missing. This does not affect private repositories or pull requests opened from branches in the same repository (the usual case). Only if you accept pull requests from external forks on a public repository do you need the pull_request_target trigger instead, checking out the pull request head explicitly.Key inputs
upload-build
Outputs:
build-id: Pass this torun-tests.app-link: Dashboard URL.
run-tests
Provide at least one of
tags or test-ids. If both are provided, test-ids takes precedence.Common variations
Run specific tests with a shorter wait
Trigger and inspect later
Setasync to true to trigger the run without waiting for it to finish.
Report results without failing the job
Setfail-on-test-failure to false.
Also run after merging to main
To keep a post-merge baseline on main alongside the pre-merge pull request runs, trigger on both events:
Run only on a merged pull request
Change the workflow trigger:Pin the version
@v1: Recommended. Automatically gets the latestv1.x.xrelease with bug fixes and no breaking changes.@v1.2.3: Pins to an exact version for full reproducibility.@main: Tracks the latest commit. This may include breaking changes, so it is not recommended for production.
Troubleshooting
Behind a corporate proxy, the actions honor
HTTPS_PROXY, HTTP_PROXY, and NO_PROXY. They also support custom CA bundles via NODE_EXTRA_CA_CERTS.
Questions or issues? Contact your MobileBoost representative.
