From ce8e67eb5d156ad4381c821edc26fa89f49e3639 Mon Sep 17 00:00:00 2001 From: andrekir Date: Mon, 3 Oct 2022 23:57:28 -0300 Subject: [PATCH] update workflow JDK --- .github/workflows/android.yml | 11 ++++------- .github/workflows/release.yml | 6 +++--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cf79f789..fa881ea6 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -24,17 +24,14 @@ jobs: cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/ - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - java-version: 11 - distribution: 'adopt' + java-version: '11' + distribution: 'temurin' cache: gradle - + - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@v1 - - - name: Integration test - run: ./gradlew test --stacktrace - name: Build debug APK run: ./gradlew assembleDebug diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88be660a..7b1e6d55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,10 @@ jobs: KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }} - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - java-version: 11 - distribution: 'adopt' + java-version: '11' + distribution: 'temurin' # Note: we don't use caches on release builds because we don't want to accidentally not have a virgin build machine - name: Find firmware release tag