diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6978fc0e4..20079da2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2 with: - flutter-version: '3.7.0' + channel: 'stable' cache: true - run: bash ci/dart_pub_publish_check.sh @@ -73,7 +73,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["2.10.5", "3.13.4"] + version: ["2.10.5", "3.x"] runs-on: macos-12 timeout-minutes: 120 env: @@ -83,7 +83,7 @@ jobs: - uses: actions/setup-java@v1 with: java-version: "11" - - uses: subosito/flutter-action@v1 + - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} - run: flutter config --enable-macos-desktop @@ -103,7 +103,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: macos-12 timeout-minutes: 120 env: @@ -124,7 +124,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: macos-12 timeout-minutes: 120 env: @@ -143,7 +143,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: windows-2019 timeout-minutes: 120 env: @@ -165,7 +165,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.13.7'] + version: ['3.x'] runs-on: ubuntu-latest timeout-minutes: 60 env: @@ -188,14 +188,14 @@ jobs: needs: flutter_codestyle_check strategy: matrix: - version: ["2.10.5", "3.0.0"] + version: ["2.10.5", "3.x"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v1 with: java-version: "11" - - uses: subosito/flutter-action@v1 + - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} - run: flutter pub get @@ -208,7 +208,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: windows-2019 steps: - uses: actions/checkout@v3 @@ -229,7 +229,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: macos-12 timeout-minutes: 120 steps: @@ -249,7 +249,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.13.6'] + version: ['3.x'] runs-on: macos-13 timeout-minutes: 120 steps: @@ -274,7 +274,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['2.10.5', '3.0.0'] + version: ["2.10.5", "3.x"] runs-on: ubuntu-latest timeout-minutes: 120 steps: @@ -303,7 +303,7 @@ jobs: java-version: '11' - uses: subosito/flutter-action@v2 with: - flutter-version: '3.0.0' + flutter-version: '3.x' cache: true - name: Checkout hoe uses: actions/checkout@v3 @@ -347,14 +347,14 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ["3.0.0"] # Need keep version 3.0.0 at this time, or the test will timeout on github runner + version: ["3.x"] runs-on: macos-13 # Rendering test on ios simulator need macos 13+ timeout-minutes: 60 env: TEST_APP_ID: ${{ secrets.MY_APP_ID }} steps: - uses: actions/checkout@v1 - - uses: subosito/flutter-action@v1 + - uses: subosito/flutter-action@v2 with: flutter-version: ${{ matrix.version }} - name: Checkout hoe @@ -392,7 +392,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.0.0'] + version: ['3.x'] runs-on: macos-12 timeout-minutes: 120 env: @@ -439,7 +439,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.0.0'] + version: ['3.x'] runs-on: windows-2019 timeout-minutes: 120 env: @@ -486,7 +486,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }} strategy: matrix: - version: ['3.13.7'] + version: ['3.x'] runs-on: ubuntu-latest timeout-minutes: 60 env: