Skip to content

🔖 v1.2.3

🔖 v1.2.3 #57

Workflow file for this run

name: Build GP
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
inputs:
TAG:
description: 'Set a Tag'
required: true
default: ''
push:
tags:
- v*
jobs:
build:
name: Release build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: '11.x'
- name: Setup flutter
uses: subosito/flutter-action@v1
with:
channel: stable
- name: Build split apk
run: |
flutter pub get
flutter build -v apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi --release
ls build/app/outputs/flutter-apk
- name: Sign build apk
uses: iota9star/[email protected]
with:
releaseDirectory: build/app/outputs/flutter-apk
fileRegex: .*-release.apk
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Release to GP
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.nichijou.flutter.mikan
releaseFiles: 'build/app/outputs/flutter-apk/*-release-signed.apk'
track: production
inAppUpdatePriority: 3
status: completed
mappingFile: build/app/outputs/mapping/release/mapping.txt