Build Android project, export .apk, optional upload to BrowserStack App Live.
Build Android project, export .apk, optional upload to BrowserStack App Live.
This action build Android project, export .apk file as GitHub artifact, with optional automatic upload to BrowserStack AppLive.
Tested with Ionic, React Native and native android projects.
release-track and release-status for Androidgemfile.lock will be checked and if it contains a BUNDLED WITH section it will install and use that specific version of bundler.bundler-version is now set to 2.3 so that the fallback value is compatible with fastlane plugins.setup-ruby action.ruby-version property you can specify Ruby version you wish to use. If missing latest Ruby version available will be used.bundler-version property you can specify bundler version you wish to use. If missing latest bundler version will be used.fastlane-env parameter you can specify wich env fastlane should load while executing the lane.build-type: assemble) or a signed AAB (build-type: bundle). In case of a signed AAB you will also need to provide the package-name and the keystore-content, keystore-password and keystore-aliasupload-to-play-store property to true and be sure to add the json-key-data property as a one-line JSON content of your Key file.project-path(Required) Android folder (where gradlew is)
output-pathOutput path of apk. Default "output.apk".
gradle-taskName of the gradle task to run. Default "assembleDebug".
ruby-versionRuby version to be used. Default "head".
bundler-versionBundler version to be used. Default "2.3".
fastlane-versionFastlane version to be used. If not specified, the default value will be used.
fastlane-envSpecify the env that fastlane should load.
release-trackRelease track to target. Default "internal".
release-statusStatus of the uploaded release. Default "draft".
- uses: sparkfabrik/[email protected]
with:
project-path: android
output-path: my-app.apk
browserstack-upload: true
browserstack-username: ${{ secrets.BROWSERSTACK_USERNAME }}
browserstack-access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
ruby-version: "2.7.5"
bundler-version: "2.3.26"
fastlane-env: "debug"If you have any other inputs you'd like to add, feel free to create PR.
No open issues yet, or sync has not completed.