update backend install 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 4s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 2s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 3s
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 4s

This commit is contained in:
Patrick
2025-10-30 23:01:50 +01:00
parent da0b4d3d02
commit 9a1874935c

View File

@ -98,10 +98,12 @@ 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 Maven - name: Install Maven manually
run: | run: |
apt-get update mkdir -p $HOME/maven
apt-get install -y maven curl -sL https://archive.apache.org/dist/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.tar.gz | tar -xz -C $HOME/maven --strip-components=1
export PATH=$HOME/maven/bin:$PATH
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