From e484e4e773d3b1d4ee700a3e0ac1c618af2dc51e Mon Sep 17 00:00:00 2001 From: badaix Date: Fri, 5 Apr 2024 08:26:26 +0200 Subject: [PATCH] Use Java 17 --- .github/workflows/ubuntu.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 4a883ba..ed20891 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -25,9 +25,9 @@ jobs: wget https://github.com/badaix/snapcast-deps/releases/download/v0.27.0/vorbis-1.3.7.aar -P $LIBS_DIR - name: Build the app - env: - JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }} run: ./gradlew build + env: + JAVA_HOME: ${env:JAVA_HOME_17_X64} - name: rename apk run: mv /home/runner/work/snapdroid/snapdroid/Snapcast/build/outputs/apk/release/Snapcast-release-unsigned.apk /home/runner/work/snapdroid/snapdroid/Snapcast/build/outputs/apk/release/Snapcast.apk