From 8d0128ce85c4b3ebc29d0ea4c056562d1c371c60 Mon Sep 17 00:00:00 2001 From: badaix Date: Fri, 5 Apr 2024 08:34:16 +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 a10f754..8c60926 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -6,6 +6,8 @@ jobs: build: runs-on: ubuntu-22.04 + env: + JAVA_HOME: $JAVA_HOME_17_X64 steps: - name: Checkout @@ -26,8 +28,6 @@ jobs: - name: Build the app 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