Skip to content

[pub] Bump fl_chart from 0.69.2 to 0.70.2 in /app/resident_manager #812

[pub] Bump fl_chart from 0.69.2 to 0.70.2 in /app/resident_manager

[pub] Bump fl_chart from 0.69.2 to 0.70.2 in /app/resident_manager #812

Workflow file for this run

name: Flutter build
on: [ push, pull_request ]
permissions:
contents: read
jobs:
desktop:
name: Build desktop app
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
build-name: macos
- os: ubuntu-latest
build-name: linux
- os: windows-latest
build-name: windows
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.3
channel: stable
- name: Install extra apt dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install -y ninja-build libgtk-3-dev
- name: View Flutter status
run: |
flutter --version
flutter doctor -v
- name: Build desktop app
working-directory: app/resident_manager
run: flutter build ${{ matrix.build-name }}
- name: Upload macos build
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build-name }}-build
path: app/resident_manager/build/macos/Build/Products/Release
- name: Upload linux build
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build-name }}-build
path: app/resident_manager/build/linux/x64/release/bundle
- name: Upload windows build
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build-name }}-build
path: app/resident_manager/build/windows/x64/runner/Release
apk:
name: Build APK
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 19
- name: View Java status
run: java --version
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.24.3
channel: stable
- name: View Flutter status
run: |
flutter --version
flutter doctor -v
- name: Build APK
working-directory: app/resident_manager
run: flutter build apk
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: apk-build
path: app/resident_manager/build/app/outputs/flutter-apk