Skip to content

build: ⬆️ update min and target sdk version #10

build: ⬆️ update min and target sdk version

build: ⬆️ update min and target sdk version #10

Workflow file for this run

on:
push:
tags:
- '*'
permissions:
contents: write
name: Build and Release apk
jobs:
build:
name: Build Artifacts and Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: "12.x"
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '1.9.1+hotfix.4'
channel: 'stable'
- name: Decode android/app/key.jks
run: echo "${{ secrets.KEYSTORE_JKS_PROD }}" | base64 --decode > android/app/key.jks
- name: Decode android/key.properties
run: echo "${{ secrets.KEY_PROPERTIES_PROD }}" | base64 --decode > android/key.properties
- name: Pub Get Packages
run: flutter pub get
- name: Build APK
run: flutter build apk --release --split-per-abi
- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*.apk"
token: ${{ secrets.GITHUB_TOKEN }}