diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index fcdbeea..148e168 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -9,6 +9,7 @@ env: NDK_VERSION: 25.2.9519653 FLUTTER_VERSION: '3.24.2' FLUTTER_CHANNEL: 'stable' + JAVA_VERSION: '17' jobs: @@ -113,7 +114,7 @@ jobs: if: true && ( matrix.config.target == 'android-arm32' || matrix.config.target == 'android-arm64' || matrix.config.target == 'android-x86_64' ) uses: actions/setup-java@v3 with: - java-version: '11' + java-version: ${{ env.JAVA_VERSION }} distribution: 'temurin' - name: Setup android tools (Android)