mirror of
https://github.com/home-assistant/android
synced 2024-07-22 02:45:11 +00:00
Add support for publishing to Amazon on release. (#3162)
* Add support for publishing to Amazon on release. * Fix beta deploys....
This commit is contained in:
parent
d5f8de3ce8
commit
ce8049729e
3
.github/workflows/beta.yml
vendored
3
.github/workflows/beta.yml
vendored
|
@ -64,8 +64,7 @@ jobs:
|
|||
uses: marvinpinto/action-automatic-releases@v1.2.1
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
release_name: ${{ steps.rel_number.outputs.version }}
|
||||
automatic_release_tag: ${{ steps.rel_number.outputs.version }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
files: |
|
||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
|||
|
||||
jobs:
|
||||
app_build:
|
||||
name: Github, Firebase, and Sentry Release
|
||||
name: Github, Firebase, Amazon, and Sentry Releases
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -90,6 +90,14 @@ jobs:
|
|||
VERSION_CODE: ${{ steps.rel_number.outputs.version-code }}
|
||||
run: ./gradlew appDistributionUploadFullRelease
|
||||
|
||||
- name: Deploy to Amazon
|
||||
uses: ALJAZEERAPLUS/amazon-appstore-action@v1
|
||||
with:
|
||||
client-id: ${{ secrets.AMAZON_APPSTORE_CLIENT_ID }}
|
||||
client-secret: ${{ secrets.AMAZON_APPSTORE_CLIENT_SECRET }}
|
||||
app-id: ${{ secrets.AMAZON_APPSTORE_APP_ID }}
|
||||
apk-file: ./app/build/outputs/apk/minimal/release/app-minimal-release.apk
|
||||
|
||||
- name: Create a Sentry.io release
|
||||
uses: getsentry/action-release@v1
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue