Skip to content

release: Release v1.3.0 #111

release: Release v1.3.0

release: Release v1.3.0 #111

Workflow file for this run

name: Build
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: stable
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Cache Gradle modules
uses: actions/cache@v3
env:
cache-number: ${{ secrets.CACHE_NUMBER }}
with:
path: |
~/android/.gradle
~/.gradle/cache
# ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ env.cache-number }}-${{ hashFiles('android/build.gradle') }}-${{ hashFiles('android/app/build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-${{ env.cache-name }}-${{ hashFiles('android/build.gradle') }}
${{ runner.os }}-gradle-${{ env.cache-name }}-
${{ runner.os }}-gradle-
${{ runner.os }}-
- name: Cache Flutter modules
uses: actions/cache@v3
env:
cache-number: ${{ secrets.CACHE_NUMBER }}
with:
path: |
/Users/runner/hostedtoolcache/flutter
# ~/.pub-cache
key: ${{ runner.os }}-pub-${{ env.cache-number }}-${{ env.flutter_version }}-${{ hashFiles('pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-${{ env.flutter_version }}-
${{ runner.os }}-pub-
${{ runner.os }}-
- name: Get flutter dependencies.
run: make get
- name: Build
run: |
make build-android