Skip to content

Commit

Permalink
v1.0.14 - Add release workflow (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie committed Jan 14, 2024
1 parent 1582aef commit 311462c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release Android ARM64

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build-and-release:
name: Build and Release Android ARM64
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install and set up Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17.x'

- name: Setup Flutter environment
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.5'
cache: true

- name: Install dependencies
run: flutter pub get

- name: Build APK for android-arm64
run: flutter build apk --target-platform android-arm64

- name: Upload Release APK
uses: actions/upload-artifact@v4
with:
name: finease
path: build/app/outputs/apk/release/app-release.apk
if-no-files-found: error
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
xml: 6.5.0

dev_dependencies:
flutter_lints: ^3.0.1
flutter_lints: 3.0.1

flutter:
uses-material-design: true

0 comments on commit 311462c

Please sign in to comment.