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
|
name: Analyze and test
|
||||||
|
|
||||||
|
env:
|
||||||
|
FLUTTER_VERSION: 3.32.8
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze-test:
|
analyze-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -32,7 +35,7 @@ jobs:
|
|||||||
- name: Setup flutter
|
- name: Setup flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: "3.27.4"
|
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
cache: true
|
cache: true
|
||||||
cache-key: "deps-${{ hashFiles('**/pubspec.lock') }}"
|
cache-key: "deps-${{ hashFiles('**/pubspec.lock') }}"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
name: Build dev binaries
|
name: Build dev binaries
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLUTTER_VERSION: 3.27.4
|
FLUTTER_VERSION: 3.32.8
|
||||||
XCODE_VERSION: 16.0
|
XCODE_VERSION: 16.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
name: Deploy PR on Github Pages
|
name: Deploy PR on Github Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLUTTER_VERSION: 3.27.4
|
FLUTTER_VERSION: 3.32.8
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FLUTTER_VERSION: 3.27.4
|
FLUTTER_VERSION: 3.32.8
|
||||||
XCODE_VERSION: 16.0
|
XCODE_VERSION: 16.0
|
||||||
|
|
||||||
jobs:
|
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
|
# Stage 1 - Install dependencies and build the app
|
||||||
# This matches the flutter version on our CI/CD pipeline on Github
|
# 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
|
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
|
# Set directory to Copy App
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user