{"id":15040959,"url":"https://github.com/ilharp/sign-android-release","last_synced_at":"2025-03-17T13:11:39.263Z","repository":{"id":37003362,"uuid":"504606179","full_name":"ilharp/sign-android-release","owner":"ilharp","description":"A GitHub action to sign an APK or AAB","archived":false,"fork":false,"pushed_at":"2024-08-18T15:56:46.000Z","size":109922,"stargazers_count":47,"open_issues_count":6,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T21:32:54.862Z","etag":null,"topics":["actions","android","android-app","android-development","android-sdk","android-sign","android-signing"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/sign-android-release-2","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"r0adkll/sign-android-release","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilharp.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-06-17T16:40:23.000Z","updated_at":"2025-01-08T17:17:59.000Z","dependencies_parsed_at":"2024-02-02T06:26:29.401Z","dependency_job_id":"bc47d713-3c0f-40e3-a373-0cb7c17f5532","html_url":"https://github.com/ilharp/sign-android-release","commit_stats":{"total_commits":80,"total_committers":8,"mean_commits":10.0,"dds":0.08750000000000002,"last_synced_commit":"6cd2d5a932deb601367832e4d419d96c40bcb6db"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilharp%2Fsign-android-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilharp%2Fsign-android-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilharp%2Fsign-android-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilharp%2Fsign-android-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilharp","download_url":"https://codeload.github.com/ilharp/sign-android-release/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244039208,"owners_count":20387834,"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","android-app","android-development","android-sdk","android-sign","android-signing"],"created_at":"2024-09-24T20:45:20.061Z","updated_at":"2025-03-17T13:11:39.231Z","avatar_url":"https://github.com/ilharp.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eSign Android Release\u003c/h1\u003e\n\u003cp\u003eA GitHub action to sign an APK or AAB.\u003c/p\u003e\n\n![Workflow](https://img.shields.io/github/actions/workflow/status/ilharp/sign-android-release/build.yml?branch=master\u0026style=flat-square)\n[![License](https://img.shields.io/github/license/ilharp/sign-android-release?style=flat-square)](https://github.com/ilharp/sign-android-release/blob/master/LICENSE)\n\n\u003c/div\u003e\n\n---\n\nThis action will help you sign an Android `.apk` or `.aab` (Android App Bundle) file for release.\n\n## Usage\n\n```yml\nsteps:\n  - uses: ilharp/sign-android-release@v1 # Or use @nightly\n    name: Sign app APK\n    id: sign_app\n    with:\n      releaseDir: app/build/outputs/apk/release\n      signingKey: ${{ secrets.ANDROID_SIGNING_KEY }}\n      keyAlias: ${{ secrets.ANDROID_KEY_ALIAS }}\n      keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}\n      keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }}\n      buildToolsVersion: 33.0.0\n\n  # Upload your signed file if you want\n  - uses: actions/upload-artifact@v3\n    with:\n      name: Signed app bundle\n      path: ${{steps.sign_app.outputs.signedFile}}\n```\n\nIf you have multiple files to sign:\n\n```yaml\nsteps:\n  - uses: ilharp/sign-android-release@v1 # Or use @nightly\n    id: sign_app\n    with:\n      releaseDir: app/build/outputs/apk/release\n      signingKey: ${{ secrets.ANDROID_SIGNING_KEY }}\n      keyAlias: ${{ secrets.ANDROID_KEY_ALIAS }}\n      keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}\n      keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }}\n      buildToolsVersion: 33.0.0\n\n  - uses: jungwinter/split@v2\n    id: signed_files\n    with:\n      msg: ${{ steps.sign_app.outputs.signedFiles }}\n      separator: ':'\n\n  - name: Example Release\n    uses: \"marvinpinto/action-automatic-releases@latest\"\n    with:\n      repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n      automatic_release_tag: \"latest\"\n      prerelease: true\n      title: \"Release X\"\n      files: |\n        ${{ steps.signed_files.outputs._0 }}\n        ${{ steps.signed_files.outputs._1 }}\n        ${{ steps.signed_files.outputs._2 }}\n        ${{ steps.signed_files.outputs._3 }}\n        ${{ steps.signed_files.outputs._4 }}\n```\n\n## Inputs\n\nYou can set either inputs (in `with` section) or env (in `env` section).\n\nKey|ENV|Usage\n-|-|-\nreleaseDir|ANDROID_RELEASE_DIR|**Optional.** The relative directory path in your project where your Android release file will be located.\u003cbr /\u003eDefaults to `app/build/outputs/apk/release`.\nsigningKey|ANDROID_SIGNING_KEY|**Required.** The base64 encoded signing key used to sign your app.\nkeyAlias|ANDROID_KEY_ALIAS|**Required.** The alias of your signing key.\nkeyStorePassword|ANDROID_KEYSTORE_PASSWORD|**Required.** The password for your signing keystore.\nkeyPassword|ANDROID_KEY_PASSWORD|**Optional.** The private password for your signing key.\nbuildToolsVersion|ANDROID_BUILD_TOOLS_VERSION|**Optional.** The version of Android build tools to use. Defaults to `33.0.0`.\n\nYou can prepare your `signingKey` by running this command:\n\n```sh\nopenssl base64 \u003c some_signing_key.jks | tr -d '\\n' | tee some_signing_key.jks.base64.txt\n```\n\nThen copy the text to `Settings - Secrets - Action` in your account or organization.\n\n## Outputs\n\nKey|ENV|Usage\n-|-|-\nsignedFile|ANDROID_SIGNED_FILE|The path to the single release file that have been signed.\u003cbr /\u003eNot set if multiple release files have been signed.\nsignedFiles|ANDROID_SIGNED_FILES|The paths to the release files that have been signed with this action, separated by `:`.\nsignedFilesCount|ANDROID_SIGNED_FILES_COUNT|The count of signed release files.\n\n## BUGs \u0026 Issues\n\nFeel free to [open issues](https://github.com/ilharp/sign-android-release/issues/new).\n\n## Contributions\n\nPRs are welcome! Feel free to contribute on this project.\n\n## LICENSE\n\n[MIT](https://github.com/ilharp/sign-android-release/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filharp%2Fsign-android-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filharp%2Fsign-android-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filharp%2Fsign-android-release/lists"}