backend install java 21 maven package manually
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 12s
checks / Set up Java for Backend Tests and Build (push) Failing after 2s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 3s
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 11s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 2s
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 12s
checks / Set up Java for Backend Tests and Build (push) Failing after 2s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 3s
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 11s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 2s
This commit is contained in:
@ -98,6 +98,13 @@ jobs:
|
|||||||
git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
||||||
echo "${{ gitea.repository }} cloned successfully."
|
echo "${{ gitea.repository }} cloned successfully."
|
||||||
|
|
||||||
|
- name: Install Java 21 manually
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y openjdk-21-jdk
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
|
||||||
|
export PATH=$JAVA_HOME/bin:$PATH
|
||||||
|
java -version
|
||||||
|
|
||||||
- name: Install Maven manually
|
- name: Install Maven manually
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/maven
|
mkdir -p $HOME/maven
|
||||||
@ -105,6 +112,7 @@ jobs:
|
|||||||
export PATH=$HOME/maven/bin:$PATH
|
export PATH=$HOME/maven/bin:$PATH
|
||||||
mvn -version
|
mvn -version
|
||||||
|
|
||||||
|
|
||||||
# Setup Java 21 and Maven with caching
|
# Setup Java 21 and Maven with caching
|
||||||
- name: Set up Java & Maven
|
- name: Set up Java & Maven
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user