TF-4058 Upgrade flutter version to 3.32.8 for CI and Dockerfile
This commit is contained in:
@@ -8,6 +8,9 @@ on:
|
||||
|
||||
name: Analyze and test
|
||||
|
||||
env:
|
||||
FLUTTER_VERSION: 3.32.8
|
||||
|
||||
jobs:
|
||||
analyze-test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -32,7 +35,7 @@ jobs:
|
||||
- name: Setup flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: "3.27.4"
|
||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||
channel: "stable"
|
||||
cache: true
|
||||
cache-key: "deps-${{ hashFiles('**/pubspec.lock') }}"
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
name: Build dev binaries
|
||||
|
||||
env:
|
||||
FLUTTER_VERSION: 3.27.4
|
||||
FLUTTER_VERSION: 3.32.8
|
||||
XCODE_VERSION: 16.0
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
name: Deploy PR on Github Pages
|
||||
|
||||
env:
|
||||
FLUTTER_VERSION: 3.27.4
|
||||
FLUTTER_VERSION: 3.32.8
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
name: Release
|
||||
|
||||
env:
|
||||
FLUTTER_VERSION: 3.27.4
|
||||
FLUTTER_VERSION: 3.32.8
|
||||
XCODE_VERSION: 16.0
|
||||
|
||||
jobs:
|
||||
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
ARG FLUTTER_VERSION=3.27.4
|
||||
ARG FLUTTER_VERSION=3.32.8
|
||||
# Stage 1 - Install dependencies and build the app
|
||||
# This matches the flutter version on our CI/CD pipeline on Github
|
||||
# FROM --platform=amd64 ghcr.io/cirruslabs/flutter:${FLUTTER_VERSION} AS build-env
|
||||
FROM --platform=amd64 ghcr.io/instrumentisto/flutter:${FLUTTER_VERSION} AS build-env
|
||||
# TODO: Revert back to cirruslabs when upgrade Flutter pass 3.27.4, as this tag is missing for cirruslabs
|
||||
|
||||
# Set directory to Copy App
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user