From a091929620376df8066f9955c77ce5056a10d3e7 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Mon, 22 Jul 2024 14:09:39 +0100 Subject: [PATCH] stuff --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dca9c43eaa7..a56fbc1f3a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,12 +92,12 @@ commands: sudo apt update sudo apt install -y openjdk-21-jdk if [ "$(uname -m)" = "aarch64" ]; then - sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-arm64/bin/java - sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-arm64/bin/javac + ARCH="arm64" else - sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java - sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-amd64/bin/javac + ARCH="amd64" fi + sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-$ARCH/bin/java + sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-$ARCH/bin/javac prepare: description: "Prepare" steps: