Skip to content

Android Notifications #63

Android Notifications

Android Notifications #63

Workflow file for this run

name: Android Release
# Controls when the action will run.
# This could probably use improvement
on:
issues:
types: [closed]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
environment: Staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: dart-lang/[email protected]
- run: dart pub global activate fvm
- run: echo $KEY_JKS | base64 -d > android/key.jks
env:
KEY_JKS: ${{ secrets.KEY_JKS }}
- run: fvm install
- run: fvm flutter pub get
- run: fvm flutter analyze
continue-on-error: true
- run: fvm flutter test
- run: fvm flutter build apk --release
env:
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
ALIAS_PASSWORD: ${{ secrets.ALIAS_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk