From a9e89383d4212eb6539f20e646ada19e9f495550 Mon Sep 17 00:00:00 2001 From: Sanmer Date: Wed, 8 Nov 2023 18:11:41 +0800 Subject: [PATCH] Use Zulu JDK --- .github/workflows/android.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 6dd9b72c..8f81d02a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -30,18 +30,11 @@ jobs: echo ${{ secrets.KEY_STORE }} | base64 --decode > ${{ github.workspace }}/key.jks fi - - name: Download JBR 17 - run: | - download_url="https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-17.0.9-linux-x64-b1000.46.tar.gz" - curl -o $RUNNER_TEMP/jbr.tar.gz -L $download_url - - - name: Set up JBR 17 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - distribution: 'jdkfile' - jdkFile: ${{ runner.temp }}/jbr.tar.gz - java-version: '17' - architecture: x64 + distribution: 'zulu' + java-version: 17 - name: Set up Gradle uses: gradle/gradle-build-action@v2