diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 36feade..4f62b27 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -7,22 +7,14 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-java17 steps: # 1. Checkout the code - name: Checkout code uses: actions/checkout@v4 - # 2. Set up Java (Maven wrapper handles Maven version automatically) - - name: Set up JDK (Eclipse Temurin) - uses: actions/setup-java@v4 - with: - distribution: "temurin" - java-version: "17" - cache: maven - - # 3. Build the Spring Boot application using the Maven wrapper + # 2. Build the Spring Boot application using the Maven wrapper (Java 17 pre-installed in runner image) - name: Build Spring Boot Application run: ./mvnw clean package -DskipTests