CI: release as beta to Play Store
This commit is contained in:
parent
ae17672c5b
commit
72d3e11135
2 changed files with 28 additions and 0 deletions
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
|
@ -60,3 +60,30 @@ jobs:
|
||||||
with:
|
with:
|
||||||
artifacts: "build/app/outputs/apk/release/*.apk,build/app/outputs/bundle/release/*.aab"
|
artifacts: "build/app/outputs/apk/release/*.apk,build/app/outputs/bundle/release/*.aab"
|
||||||
token: ${{ secrets.RELEASE_WORKFLOW_TOKEN }}
|
token: ${{ secrets.RELEASE_WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
|
- name: Upload app bundle
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: appbundle
|
||||||
|
path: build/app/outputs/bundle/release/app-release.aab
|
||||||
|
|
||||||
|
release:
|
||||||
|
name: Create beta release on Play Store.
|
||||||
|
needs: [ build ]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Get appbundle from artifacts.
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: appbundle
|
||||||
|
|
||||||
|
- name: Release app to beta channel.
|
||||||
|
uses: r0adkll/upload-google-play@v1
|
||||||
|
with:
|
||||||
|
serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_ACCOUNT_KEY }}
|
||||||
|
packageName: deckers.thibault.aves
|
||||||
|
releaseFile: app-release.aab
|
||||||
|
track: beta
|
||||||
|
whatsNewDirectory: whatsnew
|
1
whatsnew/whatsnew-en-US
Normal file
1
whatsnew/whatsnew-en-US
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Thanks for using Aves!
|
Loading…
Reference in a new issue