A GitHub Action for uploading Android APK release files to Amazon Appstore. It uses the Amazon Appstore Developer API to upload the APK file, handling the authentication, edit creation, and APK upload process. It follows the Amazon Appstore Developer App Submission API to upload the APK file. The steps to upload the APK file were taken from the Amazon App Submission API Flows.
- Create an Amazon Appstore Developer account
- In Apps & Services (API Access), create a new
Security Profile
under "App Submission API" in the Amazon Developer Console - Save the
Client ID
andClient Secret
from the Security Profile - Associate Security Profile with the API by following the steps mentioned here
- Collect the
App ID
from the Amazon Developer Console
- This action works for apps that are already created in the Amazon Appstore Developer Console. It does not create a new app.
- This action only supports uploading APK files to Amazon Appstore. It does not support uploading AAB files.
client_id
(required): Amazon AppStore Application Client ID obtained from the Amazon Developer Consoleclient_secret
(required): Amazon AppStore Application Client Secret obtained from the Amazon Developer Consoleapp_id
(required): Amazon AppStore Application ID (the unique identifier for your app in the Amazon AppStore)apk_release_file
(required): Relative path to the Android APK release file (e.g., 'app/build/outputs/apk/release/app-release.apk')
- name: Upload Android App to Amazon App Store
uses: AmeyaJain-25/[email protected]
with:
client_id: ${{secrets.AMAZON_APPSTORE_CLIENT_ID}}
client_secret: ${{secrets.AMAZON_APPSTORE_CLIENT_SECRET}}
app_id: ${{ secrets.AMAZON_APPSTORE_APP_ID }}
apk_release_file: 'app/build/outputs/apk/release/app-release.apk'
To see the debug logs (e.g., the HTTP requests and responses made to the Amazon Appstore Developer API), set the secret ACTIONS_RUNNER_DEBUG
to true
in your repository secrets.