Skip to content

chore(deps): update actions/checkout action to v4 #171

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #171

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
android:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Build APK
run: flutter build apk --no-android-gradle-daemon
working-directory: example
ios:
runs-on: macos-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Configure Flutter
run: flutter config --enable-macos-desktop
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build ios --no-codesign --simulator
working-directory: example
linux:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install tools
run: sudo apt update && sudo apt install -y clang cmake curl libgtk-3-dev ninja-build unzip
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Configure Flutter
run: flutter config --enable-linux-desktop
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build linux
working-directory: example
macos:
runs-on: macos-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Configure Flutter
run: flutter config --enable-macos-desktop
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build macos
working-directory: example
web:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build web
working-directory: example
windows:
runs-on: windows-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Build
run: flutter build windows
working-directory: example