Skip to content

github: update both android internal publish tasks #60

github: update both android internal publish tasks

github: update both android internal publish tasks #60

Workflow file for this run

name: Internal: Blokada 6 for Android

Check failure on line 1 in .github/workflows/android6.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/android6.yml

Invalid workflow file

You have an error in your yaml syntax
on:
workflow_dispatch:
push:
tags:
- android.v6.**
env:
main_project_module: app
playstore_name: org.blokada.sex
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./six-android
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Get Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Build common lib
run: |
git config --global url."https://${{ secrets.GIT_TOKEN }}@github.com/".insteadOf "[email protected]:"
make sixcommon
- name: Build aab
run: make aab
- name: Sign app AAB
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: six-android/app/build/outputs/bundle/sixRelease
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Upload to Google Play (no review)
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: org.blokada.sex
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}}
track: internal
status: completed
changesNotSentForReview: true
whatsNewDirectory: six-android/whatsnew
continue-on-error: true
- name: Upload to Google Play (with review)
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: org.blokada.sex
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}}
track: internal
status: completed
whatsNewDirectory: six-android/whatsnew
if: failure() # Of the previous step