update backend job
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 44s
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 32s

This commit is contained in:
Patrick
2025-10-30 22:06:24 +01:00
parent 3f6c46d7ae
commit c981df6bc9

View File

@ -86,6 +86,17 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout repository first (critical)
- name: Checkout repository
uses: actions/checkout@v3
env:
TOKEN: ${{ secrets.ACCESS_TOKEN }}
CLONE_URL: ${{ vars.CLONE_URL }}
with:
repository: ${{ gitea.repository }}
token: ${{ secrets.ACCESS_TOKEN }}
ref: ${{ gitea.ref }}
# Setup Java 21 and Maven with caching
- name: Set up Java & Maven
uses: actions/setup-java@v4
@ -102,9 +113,10 @@ jobs:
restore-keys: |
maven-${{ runner.os }}-
- name: Build & test backend
- name: Test & build backend
working-directory: ./src
run: |
echo "Started test & build backend..."
mvn clean install -B
mvn clean verify package -B