https://github.com/r0adkll/sign-android-release

A GitHub action to sign an APK or AAB

https://github.com/r0adkll/sign-android-release

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary

Keywords

hacktoberfest

Keywords from Contributors

sequences projection interactive serializer measurement cycles packaging charts network-simulation archival
Last synced: 11 months ago · JSON representation

Repository

A GitHub action to sign an APK or AAB

Basic Info
  • Host: GitHub
  • Owner: r0adkll
  • License: mit
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 32 MB
Statistics
  • Stars: 385
  • Watchers: 4
  • Forks: 140
  • Open Issues: 50
  • Releases: 4
Topics
hacktoberfest
Created over 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

Sign Android Release Action

This action will help you sign an Android .apk or .aab (Android App Bundle) file for release.

Inputs

releaseDirectory

Required: The relative directory path in your project where your Android release file will be located

signingKeyBase64

Required: The base64 encoded signing key used to sign your app

This action will directly decode this input to a file to sign your release with. You can prepare your key by running this command on *nix systems.

bash openssl base64 < some_signing_key.jks | tr -d '\n' | tee some_signing_key.jks.base64.txt Then copy the contents of the .txt file to your GH secrets

alias

Required: The alias of your signing key

keyStorePassword

Required: The password to your signing keystore

keyPassword

Optional: The private key password for your signing keystore

ENV: BUILD_TOOLS_VERSION

Optional: You can manually specify a version of build-tools to use. We use 34.0.0 by default.

Outputs

Output variables are set both locally and in environment variables.

signedReleaseFile/ ENV: SIGNED_RELEASE_FILE

The path to the single release file that have been signed with this action. Not set if several release files have been signed.

signedReleaseFiles / ENV: SIGNED_RELEASE_FILES

The paths to the release files that have been signed with this action, separated by :.

Example usage

Single APK

The output variable signedReleaseFile can be used in a release action.

```yaml steps: - uses: r0adkll/sign-android-release@v1 name: Sign app APK # ID used to access action output id: signapp with: releaseDirectory: app/build/outputs/apk/release signingKeyBase64: ${{ secrets.SIGNINGKEY }} alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEYSTOREPASSWORD }} keyPassword: ${{ secrets.KEYPASSWORD }} env: # override default build-tools version (33.0.0) -- optional BUILDTOOLS_VERSION: "34.0.0"

# Example use of signedReleaseFile output -- not needed - uses: actions/upload-artifact@v2 with: name: Signed app bundle path: ${{steps.sign_app.outputs.signedReleaseFile}} ```

Multiple APKs, multiple variables

The output variables signedReleaseFileX can be used to refer to each signed release file.

```yaml steps: - uses: r0adkll/sign-android-release@v1 id: signapp with: releaseDirectory: app/build/outputs/apk/release signingKeyBase64: ${{ secrets.SIGNINGKEY }} alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEYSTOREPASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }}

  • name: Example Release uses: "marvinpinto/action-automatic-releases@latest" with: repotoken: "${{ secrets.GITHUBTOKEN }}" automaticreleasetag: "latest" prerelease: true title: "Release X" files: | ${{ steps.signapp.signedReleaseFile0 }} ${{ steps.signapp.signedReleaseFile1 }} ${{ steps.signapp.signedReleaseFile2 }} ${{ steps.signapp.signedReleaseFile3 }} ${{ steps.sign_app.signedReleaseFile4 }} ```

Multiple APKs, single variable

The output variable signedReleaseFiles must be split first, before being used in a release action.

```yaml steps: - uses: r0adkll/sign-android-release@v1 id: signapp with: releaseDirectory: app/build/outputs/apk/release signingKeyBase64: ${{ secrets.SIGNINGKEY }} alias: ${{ secrets.ALIAS }} keyStorePassword: ${{ secrets.KEYSTOREPASSWORD }} keyPassword: ${{ secrets.KEY_PASSWORD }}

  • uses: jungwinter/split@v1 id: signedfiles with: msg: ${{ steps.signapp.signedReleaseFiles }} separator: ':'

  • name: Example Release uses: "marvinpinto/action-automatic-releases@latest" with: repotoken: "${{ secrets.GITHUBTOKEN }}" automaticreleasetag: "latest" prerelease: true title: "Release X" files: | ${{ steps.signedfiles.0 }} ${{ steps.signedfiles.1 }} ${{ steps.signedfiles.2 }} ${{ steps.signedfiles.3 }} ${{ steps.signedfiles.4 }} ```

Owner

  • Name: Drew Heavner
  • Login: r0adkll
  • Kind: user
  • Location: Columbia, SC
  • Company: @reddit

Staff Software Engineer @ reddit Android. Kotlin. Multiplatform. Compose. Cycling. Weightlifting.

GitHub Events

Total
  • Issues event: 1
  • Watch event: 24
  • Issue comment event: 3
  • Fork event: 3
Last Year
  • Issues event: 1
  • Watch event: 24
  • Issue comment event: 3
  • Fork event: 3

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 49
  • Total Committers: 11
  • Avg Commits per committer: 4.455
  • Development Distribution Score (DDS): 0.429
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Drew Heavner v****c@g****m 28
David Wheatley hi@d****v 10
jobobby04 j****4 2
dependabot[bot] 4****] 2
weishu t****d@g****m 1
Moe Abushawish A****m@g****m 1
kceballos k****s@i****s 1
Victor Paleologue v****e@s****m 1
Louis Hache l****e@i****m 1
Hamza H****h@w****r 1
Anshuman Mishra a****n@f****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 58
  • Total pull requests: 38
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 2 months
  • Total issue authors: 52
  • Total pull request authors: 19
  • Average comments per issue: 3.55
  • Average comments per pull request: 0.74
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 18
Past Year
  • Issues: 6
  • Pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Issue authors: 4
  • Pull request authors: 0
  • Average comments per issue: 0.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • bishwajeetbiswas (2)
  • pradip-mobiuso (2)
  • lukas1 (2)
  • ljunquera (2)
  • torop-komure (1)
  • vitalyk-multinarity (1)
  • ivan-gaydamakin (1)
  • michealmueller (1)
  • ajailani4 (1)
  • mindaugasnakrosis (1)
  • mueller-ma (1)
  • filippoLeporati93 (1)
  • big-shadow (1)
  • MatheusLimaDevOps (1)
  • abdullahkhan70 (1)
Pull Request Authors
  • dependabot[bot] (18)
  • davwheat (2)
  • rpavlik (2)
  • hamz4k (2)
  • noriban (2)
  • tiann (1)
  • victorpaleologue (1)
  • DominusKelvin (1)
  • abhijitvalluri (1)
  • 7ronaldo (1)
  • lwih (1)
  • jobobby04 (1)
  • anshuman852 (1)
  • kceb (1)
  • Abushawish (1)
Top Labels
Issue Labels
enhancement (2) question (1) bug (1)
Pull Request Labels
dependencies (18) enhancement (2)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total docker downloads: 37
  • Total dependent packages: 0
  • Total dependent repositories: 733
  • Total versions: 4
github actions: r0adkll/sign-android-release

An action to sign an Android release APK or AAB

  • License: mit
  • Status: removed
  • Latest release: v1.0.4
    published over 5 years ago
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 733
  • Docker Downloads: 37
Rankings
Dependent packages count: 0.0%
Forks count: 0.5%
Average: 0.6%
Stargazers count: 0.8%
Dependent repos count: 1.1%
Last synced: about 1 year ago

Dependencies

package-lock.json npm
  • 487 dependencies
package.json npm
  • @types/jest ^26.0.15 development
  • @types/node ^12.0.4 development
  • jest ^26.6.3 development
  • jest-circus ^26.6.3 development
  • ts-jest ^26.4.4 development
  • typescript ^3.9.7 development
  • @actions/core ^1.2.6
  • @actions/exec ^1.0.4
  • @actions/io ^1.0.2
.github/workflows/release.yml actions
  • ./ * composite
  • actions/checkout v1 composite
  • hole19/git-tag-action master composite
  • pCYSl5EDgo/cat 1.0.0 composite
action.yml actions
  • lib/main.js node12 javascript