ma jdk ch
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Failing after 13s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 10s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 13s

This commit is contained in:
Patrick
2025-10-31 15:41:31 +01:00
parent 99f4666c51
commit 1157f0eeea

View File

@ -88,6 +88,19 @@ jobs:
#image: eclipse-temurin:21-jdk
steps:
- name: Setup Java 21 manually
run: |
download_url="https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz"
wget -q -O /tmp/jdk.tar.gz $download_url
mkdir -p /opt/jdk
tar -xzf /tmp/jdk.tar.gz -C /opt/jdk --strip-components=1
echo "JAVA_HOME=/opt/jdk" >> $GITHUB_ENV
echo "/opt/jdk/bin" >> $GITHUB_PATH
- name: Verify Java setup
run: |
java -version
# Install Maven manually
- name: Download and extract OpenJDK 21
run: |