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
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:
@ -86,6 +86,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
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
|
# 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
|
||||||
@ -102,9 +113,10 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
maven-${{ runner.os }}-
|
maven-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Build & test backend
|
- name: Test & build backend
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: |
|
run: |
|
||||||
|
echo "Started test & build backend..."
|
||||||
mvn clean install -B
|
mvn clean install -B
|
||||||
mvn clean verify package -B
|
mvn clean verify package -B
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user