Skip to content

Commit 6e0e281

Browse files
committed
update java
1 parent da7bb71 commit 6e0e281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test_on_push.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
sudo apt-get -y update
4848
sudo add-apt-repository ppa:linuxuprising/java
4949
sudo apt-get -y install openjdk-21-jdk
50-
sudo update-alternatives --config java
50+
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-21-openjdk-amd64/bin/java 1
51+
sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java
5152
curl -sSL https://zipkin.io/quickstart.sh | bash -s
5253
tarantoolctl rocks install ldoc --server=http://rocks.moonscript.org
5354
tarantoolctl rocks install luacheck 0.25.0

0 commit comments

Comments
 (0)