Updating to JDK 22 for build pipeline
Build
build_mod
$ declare -a versions=("1.20.3" "1.20.4" "1.20.5" "1.20.6") # collapsed multi-line command
Building for Minecraft Version 1.20.3 with Fabric 0.91.1+1.20.3
ERROR: JAVA_HOME is set to an invalid directory: /home/gitlab-runner/.jdks/openjdk-22.0.1
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.section_end:1715047542:step_scriptERROR: Job failed: exit status 1