From ba3e25ccd2580a0b3b7d8993c5ed06b7abe8196c Mon Sep 17 00:00:00 2001 From: SessionHero01 <180888785+SessionHero01@users.noreply.github.com> Date: Fri, 20 Sep 2024 09:23:33 +1000 Subject: [PATCH] Update APT repo before installing jdk --- .drone.jsonnet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.jsonnet b/.drone.jsonnet index b088e05023..b459742392 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -38,6 +38,7 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/ pull: 'always', environment: { ANDROID_HOME: '/usr/lib/android-sdk' }, commands: [ + 'apt-get update', 'apt-get install -y ninja-build openjdk-17-jdk', 'update-java-alternatives -s java-1.17.0-openjdk-amd64', './gradlew testPlayDebugUnitTestCoverageReport' @@ -79,6 +80,7 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/ pull: 'always', environment: { SSH_KEY: { from_secret: 'SSH_KEY' }, ANDROID_HOME: '/usr/lib/android-sdk' }, commands: [ + 'apt-get update', 'apt-get install -y ninja-build openjdk-17-jdk', 'update-java-alternatives -s java-1.17.0-openjdk-amd64', './gradlew assemblePlayDebug',