Skip to content

Add GHA workflows

Add GHA workflows #1

Workflow file for this run

name: Showcase Build
on:
workflow_dispatch: {}
push:
branches:
- master
paths:
- .github/workflows/showcase_build.yaml
- forui/**
- forui_assets/**
- showcase/**
pull_request:
branches:
- master
paths:
- .github/workflows/showcase_build.yaml
- forui/**
- forui_assets/**
- showcase/**
jobs:
build-android:
name: Build Android
runs-on: ubuntu-latest
defaults:
run:
working-directory: showcase
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- uses: subosito/[email protected]
with:
cache: true
- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter analyze
- run: flutter test
- run: flutter build appbundle --debug --no-pub --no-tree-shake-icons