bash java
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 7s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 2s
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 7s
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 7s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 2s
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 7s
This commit is contained in:
@ -98,6 +98,17 @@ jobs:
|
||||
git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
||||
echo "${{ gitea.repository }} cloned successfully."
|
||||
|
||||
- name: Set up Java 21 and Maven
|
||||
run: |
|
||||
if command -v act >/dev/null 2>&1; then
|
||||
echo "Detected act runner, installing OpenJDK 21 via apt-get..."
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y openjdk-21-jdk maven
|
||||
else
|
||||
echo "Detected GitHub runner, using actions/setup-java..."
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- uses: actions/checkout@v5
|
||||
- name: Set up JDK 21 for x64
|
||||
uses: actions/setup-java@v4
|
||||
@ -121,9 +132,6 @@ jobs:
|
||||
restore-keys: |
|
||||
maven-${{ runner.os }}-
|
||||
|
||||
#- name: Run the Maven verify phase
|
||||
# run: mvn --batch-mode --update-snapshots verify
|
||||
|
||||
- name: Test & build backend
|
||||
working-directory: ./src
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user