{"id":18947292,"url":"https://github.com/sparkfabrik/android-build-action","last_synced_at":"2025-08-20T03:31:44.818Z","repository":{"id":37034131,"uuid":"296045934","full_name":"sparkfabrik/android-build-action","owner":"sparkfabrik","description":"Build Android project, export .apk, optional upload to BrowserStack App Live.","archived":false,"fork":false,"pushed_at":"2024-02-13T17:25:28.000Z","size":120,"stargazers_count":113,"open_issues_count":2,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-26T21:02:33.934Z","etag":null,"topics":["actions","android","apk","browserstack","ionic","mobile","react-native"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparkfabrik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-16T13:46:55.000Z","updated_at":"2024-06-18T20:14:51.263Z","dependencies_parsed_at":"2024-06-18T20:14:45.500Z","dependency_job_id":"0757503a-3e5a-4197-a4c4-ddcdbba15b6d","html_url":"https://github.com/sparkfabrik/android-build-action","commit_stats":{"total_commits":13,"total_committers":6,"mean_commits":"2.1666666666666665","dds":0.6153846153846154,"last_synced_commit":"3fca63a17cb801dbb926544719ad0efca47d2503"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfabrik%2Fandroid-build-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfabrik%2Fandroid-build-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfabrik%2Fandroid-build-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfabrik%2Fandroid-build-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparkfabrik","download_url":"https://codeload.github.com/sparkfabrik/android-build-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230388131,"owners_count":18217755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","android","apk","browserstack","ionic","mobile","react-native"],"created_at":"2024-11-08T13:09:31.670Z","updated_at":"2024-12-19T06:09:58.703Z","avatar_url":"https://github.com/sparkfabrik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Android App\n\nThis action build Android project, export .apk file as GitHub artifact, with optional automatic upload to BrowserStack AppLive.\n\nTested with Ionic, React Native and native android projects.\n\n## New in 1.4.0\n\n- New properties `release-track` and `release-status` for Android\n\n## New in 1.3.4\n\n- Fix build.sh input checks when uploading to Play Store\n\n## New in 1.3.3\n\n- Now `gemfile.lock` will be checked and if it contains a `BUNDLED WITH` section it will install and use that specific version of bundler.\n- The default value of `bundler-version` is now set to `2.3` so that the fallback value is compatible with fastlane plugins.\n\n## New in 1.3.2\n\n- Bundler is now installed with `setup-ruby` action.\n\n## New in 1.3.0\n\n- Optional Ruby version: using the `ruby-version` property you can specify Ruby version you wish to use. If missing latest Ruby version available will be used.\n- Optional bundler version: using the `bundler-version` property you can specify bundler version you wish to use. If missing latest bundler version will be used.\n- Optional fastlane env parameter: using `fastlane-env` parameter you can specify wich env fastlane should load while executing the lane.\n\n## New in 1.2.0\n\n- Optional build format: you can build an unsigned APK (`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-alias`\n- Optional upload to the \"internal\" track of the Google Play Store: set the `upload-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.\n\n## Inputs\n\n### `project-path`\n\n**(Required)** Android folder (where `gradlew` is)\n\n### `output-path`\n\nOutput path of apk. Default `\"output.apk\"`.\n\n### `gradle-task`\n\nName of the gradle task to run. Default `\"assembleDebug\"`.\n\n### `ruby-version`\n\nRuby version to be used. Default `\"head\"`.\n\n### `bundler-version`\n\nBundler version to be used. Default `\"2.3\"`.\n\n### `fastlane-version`\n\nFastlane version to be used. If not specified, the default value will be used.\n\n### `fastlane-env`\n\nSpecify the env that fastlane should load.\n\n### `release-track`\n\nRelease track to target. Default `\"internal\"`.\n\n### `release-status`\n\nStatus of the uploaded release. Default `\"draft\"`.\n\n## Example usage\n\n```yaml\n- uses: sparkfabrik/android-build-action@v1.5.0\n  with:\n    project-path: android\n    output-path: my-app.apk\n    browserstack-upload: true\n    browserstack-username: ${{ secrets.BROWSERSTACK_USERNAME }}\n    browserstack-access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}\n    ruby-version: \"2.7.5\"\n    bundler-version: \"2.3.26\"\n    fastlane-env: \"debug\"\n```\n\n## Contributions Welcome!\n\nIf you have any other inputs you'd like to add, feel free to create PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfabrik%2Fandroid-build-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkfabrik%2Fandroid-build-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfabrik%2Fandroid-build-action/lists"}