Skip to content

PAINTROID-454: Flutter: Add Layers #719

PAINTROID-454: Flutter: Add Layers

PAINTROID-454: Flutter: Add Layers #719

Workflow file for this run

name: Build, Test and Analyze
on: [ push, pull_request ]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: subosito/[email protected]
with:
flutter-version: "3.22.2"
channel: "stable"
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:"
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
architecture: x64
- name: Setup
run: make get
- name: Static Analysis
run: make lint
- name: Unit Tests
run: make unit
- name: Widget Tests
run: make widget
- name: Integration Tests
run: make integration
- name: Install xmlstarlet
run: sudo apt-get install -y xmlstarlet
- name: Prepare App Name and Identifier
run: |
chmod +x ./.github/workflows/update_app_identifiers.sh
./.github/workflows/update_app_identifiers.sh ${{ github.event.number }}
- name: Build release package
run: |
flutter build apk --release
mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/flutter-paint-${{ github.event.number }}.apk
- name: Archive build artifacts
uses: actions/[email protected]
with:
name: flutter-paint-apk-${{ github.event.number }}
path: |
build/app/outputs/flutter-apk/flutter-paint-${{ github.event.number }}.apk