Skip to content

Build CI

Build CI #89

Workflow file for this run

name: Build CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-android:
name: Build Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- run: echo -en "${{ secrets.ANDROID_STORE_KEY_PROPERTIES }}" > android/key.properties
- run: echo -en "${{ secrets.GOOGLE_PLAYSTORE_JKS_BASE64 }}" | base64 --decode > android/GooglePlaystore.jks
- run: pwd
- run: wc android/key.properties
- run: TEST=$(grep storeFile android/key.properties)
- run: echo $TEST
- run: ls android
- run: flutter --version
- run: flutter pub get
- run: flutter build apk
- run: flutter build appbundle