Skip to content

all: swap out Montserrat with Sora #126

all: swap out Montserrat with Sora

all: swap out Montserrat with Sora #126

Workflow file for this run

name: Preview
on:
push:
branches: ["main"]
jobs:
build:
name: build
strategy:
matrix:
target: ["ios --no-codesign", appbundle, macos, linux, windows]
fail-fast: false
runs-on: ${{ matrix.target == 'windows' && 'windows-latest' || matrix.target == 'linux' && 'ubuntu-latest' || 'macos-latest' }}
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: master
architecture: x64
cache: true
- run: flutter config --enable-macos-desktop --enable-windows-desktop --enable-linux-desktop
- if: matrix.target == 'appbundle'
name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: "11.x"
distribution: temurin
- if: matrix.target == 'linux'
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter pub get
- if: matrix.target == 'ios --no-codesign'
run: flutter precache --ios && pod install
working-directory: example/ios
- if: matrix.target == 'macos'
run: flutter precache --macos && pod install
working-directory: example/macos
- run: flutter build ${{ matrix.target }}
working-directory: example