55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: Publish to Google Play
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: docker
|
|
container: ghcr.io/catthehacker/ubuntu:act-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download Signed AAB
|
|
uses: actions/download-artifact@v3
|
|
with:
|
|
workflow: main.yml
|
|
workflow_conclusion: success
|
|
name: signed-aab
|
|
path: ./release
|
|
|
|
|
|
- name: Download Debug Symbols
|
|
uses: actions/download-artifact@v3
|
|
with:
|
|
workflow: main.yml
|
|
workflow_conclusion: success
|
|
name: debug-symbols
|
|
path: ./release/symbols
|
|
|
|
- name: Use What's New Message
|
|
run: |
|
|
mkdir ./release/whatsnew
|
|
cp whatsnew.txt ./release/whatsnew/whatsnew-en-US
|
|
|
|
- name: List Downloaded Files
|
|
run: ls -laR ./release
|
|
|
|
# - name: Create service_account.json
|
|
# run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json
|
|
#
|
|
# - name: Deploy to Google Play
|
|
# uses: https://github.com/r0adkll/upload-google-play@v1
|
|
# with:
|
|
# serviceAccountJson: service_account.json
|
|
# packageName: org.askartv.tv
|
|
# releaseFiles: "./release/*.aab"
|
|
# debugSymbols: "./release/symbols"
|
|
# track: production
|
|
# status: completed
|
|
# whatsNewDirectory: ./release/whatsnew
|
|
|