action java
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 10s
checks / Set up Java for Backend Tests and Build (push) Failing after 14s
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 6s
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 10s
checks / Set up Java for Backend Tests and Build (push) Failing after 14s
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 6s
This commit is contained in:
@ -98,25 +98,16 @@ jobs:
|
||||
git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
||||
echo "${{ gitea.repository }} cloned successfully."
|
||||
|
||||
- name: Install OS dependencies
|
||||
run: |
|
||||
apt-get update -qq
|
||||
apt-get install -y git curl unzip tar bash ca-certificates wget build-essential libssl-dev
|
||||
|
||||
- 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
|
||||
run: |
|
||||
mkdir -p $HOME/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
|
||||
- uses: actions/checkout@v5
|
||||
- name: Set up JDK 11 for x64
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
architecture: x64
|
||||
|
||||
- name: Run the Maven verify phase
|
||||
run: mvn --batch-mode --update-snapshots verify
|
||||
|
||||
# Setup Java 21 and Maven with caching
|
||||
- name: Set up Java & Maven
|
||||
|
||||
Reference in New Issue
Block a user