From fe0d676776071e5fd75b36fa6b4eff46d887f65c Mon Sep 17 00:00:00 2001 From: JarvanMo Date: Thu, 3 Aug 2023 20:43:50 +0800 Subject: [PATCH] update ci/di --- .github/workflows/build_test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index d791bf51..ccf35638 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -48,13 +48,14 @@ jobs: os: [ubuntu-latest] steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - distribution: "adopt" - java-version: "12.x" + java-version: '17' + distribution: 'temurin' - uses: subosito/flutter-action@v2 with: channel: stable - run: flutter pub get - - run: sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;20.0.5594570" + - run: sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;25.2.9519653" - run: cd example; flutter build apk --debug