diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index b2774ae..1a50409 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -26,16 +26,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '8' - - - name: Switch to Java 8 - run: | - sudo update-alternatives --set java $(update-alternatives --list java | grep java-8-openjdk | awk '{print $3}') - java -version # Verify Java version - - - name: Accept Android SDK licenses - run: yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses - + java-version: '11' - name: Install Flutter SDK uses: subosito/flutter-action@v2