From 98be86140de2181abdc59ecd4503abd9dc0e4fea Mon Sep 17 00:00:00 2001 From: sylar Date: Tue, 17 Dec 2024 18:08:00 +0800 Subject: [PATCH] chore: fixed max flutter version with 3.24.5 when do integration test --- .github/workflows/build.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 935c5c53e..44cb8c05f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,7 +85,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["3.7.0", "3.x"] + version: ["3.7.0", "3.24.5"] runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -172,7 +172,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["3.7.0", "3.x"] + version: ["3.7.0", "3.24.5"] runs-on: windows-2019 timeout-minutes: 60 env: @@ -194,7 +194,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.x'] + version: ["3.24.5"] runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -217,7 +217,11 @@ jobs: needs: flutter_codestyle_check strategy: matrix: +<<<<<<< HEAD version: ["3.7.0", "3.x"] +======= + version: ["3.7.12", "3.24.5"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838 +>>>>>>> ed146c16 (chore: fixed max flutter version with 3.24.5 when do integration test) runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -237,7 +241,11 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: +<<<<<<< HEAD version: ["3.7.0", "3.x"] +======= + version: ["3.7.12", "3.24.5"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838 +>>>>>>> ed146c16 (chore: fixed max flutter version with 3.24.5 when do integration test) runs-on: windows-2019 steps: - uses: actions/checkout@v3 @@ -278,7 +286,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.x'] + version: ["3.24.5"] runs-on: macos-13 timeout-minutes: 60 steps: @@ -303,7 +311,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["3.7.0", "3.x"] + version: ["3.7.0", "3.24.5"] runs-on: ubuntu-latest timeout-minutes: 60 steps: @@ -332,7 +340,7 @@ jobs: java-version: '11' - uses: subosito/flutter-action@v2 with: - flutter-version: '3.x' + flutter-version: "3.24.5" cache: true - name: Checkout hoe uses: actions/checkout@v3 @@ -376,7 +384,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["3.x"] + version: ["3.24.5"] runs-on: macos-13 # Rendering test on ios simulator need macos 13+ timeout-minutes: 60 env: @@ -418,7 +426,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.x'] + version: ["3.24.5"] runs-on: macos-latest timeout-minutes: 60 env: @@ -465,8 +473,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - # Pin Flutter SDK version to 3.19, since there's issue with 3.22.x, see https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/actions/runs/9186647960/job/25262717666 - version: ['3.19'] + version: ["3.24.5"] runs-on: windows-2019 timeout-minutes: 60 env: @@ -513,7 +520,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.x'] + version: ["3.24.5"] runs-on: ubuntu-latest timeout-minutes: 60 env: