https://github.com/r0adkll/sign-android-release
A GitHub action to sign an APK or AAB
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
Keywords from Contributors
Repository
A GitHub action to sign an APK or AAB
Basic Info
Statistics
- Stars: 385
- Watchers: 4
- Forks: 140
- Open Issues: 50
- Releases: 4
Topics
Metadata Files
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
- Repositories: 43
- Profile: https://github.com/r0adkll
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
Top Committers
| Name | 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
Pull Request Labels
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
Rankings
Dependencies
- 487 dependencies
- @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
- ./ * composite
- actions/checkout v1 composite
- hole19/git-tag-action master composite
- pCYSl5EDgo/cat 1.0.0 composite
- lib/main.js node12 javascript