2024-12-16 00:51:10 +00:00
|
|
|
name: Publish to Google Play
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish:
|
2025-01-04 13:25:49 +00:00
|
|
|
runs-on: docker
|
|
|
|
container: ghcr.io/catthehacker/ubuntu:full-latest
|
2024-12-16 02:16:50 +00:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
2024-12-16 00:51:10 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Download Signed AAB
|
2025-01-04 13:25:49 +00:00
|
|
|
uses: https://github.com/dawidd6/action-download-artifact@v2
|
2024-12-16 00:51:10 +00:00
|
|
|
with:
|
2024-12-16 02:14:42 +00:00
|
|
|
workflow: main.yml
|
2024-12-16 02:13:56 +00:00
|
|
|
workflow_conclusion: success
|
2024-12-16 00:51:10 +00:00
|
|
|
name: signed-aab
|
|
|
|
path: ./release
|
|
|
|
|
2025-01-04 13:29:40 +00:00
|
|
|
|
2024-12-16 01:56:06 +00:00
|
|
|
- name: Download Debug Symbols
|
2025-01-04 13:25:49 +00:00
|
|
|
uses: download-artifact@v3
|
2024-12-16 01:56:06 +00:00
|
|
|
with:
|
2024-12-16 02:14:42 +00:00
|
|
|
workflow: main.yml
|
2024-12-16 02:13:56 +00:00
|
|
|
workflow_conclusion: success
|
2024-12-16 01:56:06 +00:00
|
|
|
name: debug-symbols
|
|
|
|
path: ./release/symbols
|
|
|
|
|
2024-12-16 02:24:31 +00:00
|
|
|
- name: Use What's New Message
|
|
|
|
run: |
|
2024-12-16 03:54:10 +00:00
|
|
|
mkdir ./release/whatsnew
|
2024-12-16 03:54:36 +00:00
|
|
|
cp whatsnew.txt ./release/whatsnew/whatsnew-en-US
|
2024-12-16 02:24:31 +00:00
|
|
|
|
2024-12-16 00:51:10 +00:00
|
|
|
- name: List Downloaded Files
|
2025-01-04 13:25:49 +00:00
|
|
|
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
|
2024-12-16 00:51:10 +00:00
|
|
|
|