Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2024-01-19 23:06:06 +0300
committerStefan Niedermann <info@niedermann.it>2024-01-19 23:06:06 +0300
commit712d8a5b15179348ca327605ae92024abe862d04 (patch)
tree8255e6a52ef8f9b7960c11616d12a6ac0b2b2006
parent99b5cf927a0f773882c040b95cda00c75a2cf024 (diff)
fix(ci): Setup Java 17
Signed-off-by: Stefan Niedermann <info@niedermann.it>
-rw-r--r--.github/workflows/android.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index b614b0512..e45a649e9 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -21,6 +21,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ check-latest: true
+ cache: 'gradle'
- name: Lint
run: bash ./gradlew lintDebug --stacktrace --no-configuration-cache
@@ -30,6 +36,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ check-latest: true
+ cache: 'gradle'
- name: Unit tests
run: bash ./gradlew test --stacktrace --no-configuration-cache
@@ -39,6 +51,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '17'
+ check-latest: true
+ cache: 'gradle'
- name: Build debug APK
run: bash ./gradlew assembleDev --no-configuration-cache
- name: Upload APK