MIT License

项目介绍

sparkfabrik/android-build-action 是一个托管在 GitHub 上的开源项目,主要使用 Ruby 编写,采用 MIT License 许可证,目前获得 212 个 Star、29 次 Fork。

仓库全名
sparkfabrik/android-build-action
开源许可证
MIT License
Star 数
212
Fork 数
29
未关闭 Issue
5

README 摘要

Build Android App 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. New in 1.4.0 New properties release-track and release-status for Android New in 1.3.4 Fix build.sh input checks when uploading to Play Store New in 1.3.3 Now gemfile.lock will be checked and if it contains a…

完整内容见 GitHub 原始 README 或本页 。

常见问题

android-build-action 用什么语言开发?

主要使用 Ruby 编写,采用 MIT License 许可证,目前有 212 个 Star。

android-build-action 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 android-build-action 的源码?

可以直接克隆仓库:git clone https://github.com/sparkfabrik/android-build-action.git,默认分支为 master;安装与运行步骤见仓库 README。

android-build-action 最近还在维护吗?

仓库最近一次更新为 2024年6月18日,当前有 5 个未关闭 Issue;Star 数为 212,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Build Android project, export .apk, optional upload to BrowserStack App Live.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
280
价值分
136
活跃状态
归档

语言占比

Ruby
Shell

Release

README

Build Android App

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.

New in 1.4.0

  • New properties release-track and release-status for Android

New in 1.3.4

  • Fix build.sh input checks when uploading to Play Store

New in 1.3.3

  • Now gemfile.lock will be checked and if it contains a BUNDLED WITH section it will install and use that specific version of bundler.
  • The default value of bundler-version is now set to 2.3 so that the fallback value is compatible with fastlane plugins.

New in 1.3.2

  • Bundler is now installed with setup-ruby action.

New in 1.3.0

  • 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.
  • 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.
  • Optional fastlane env parameter: using fastlane-env parameter you can specify wich env fastlane should load while executing the lane.

New in 1.2.0

  • 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
  • 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.

Inputs

project-path

(Required) Android folder (where gradlew is)

output-path

Output path of apk. Default "output.apk".

gradle-task

Name of the gradle task to run. Default "assembleDebug".

ruby-version

Ruby version to be used. Default "head".

bundler-version

Bundler version to be used. Default "2.3".

fastlane-version

Fastlane version to be used. If not specified, the default value will be used.

fastlane-env

Specify the env that fastlane should load.

release-track

Release track to target. Default "internal".

release-status

Status of the uploaded release. Default "draft".

Example usage

- 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"

Contributions Welcome!

If you have any other inputs you’d like to add, feel free to create PR.

评论

暂无评论