Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jul 23, 2024
1 parent 918c728 commit a091929
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a091929

Please sign in to comment.