From cc24c43ab8c430784cd72f83633bc50cc744afcf Mon Sep 17 00:00:00 2001 From: Lobo Date: Tue, 31 Mar 2026 19:54:02 +0200 Subject: [PATCH] Updated pipeline --- .gitea/workflows/publish-auth.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/publish-auth.yml b/.gitea/workflows/publish-auth.yml index ee6fccc..c481002 100644 --- a/.gitea/workflows/publish-auth.yml +++ b/.gitea/workflows/publish-auth.yml @@ -24,9 +24,13 @@ jobs: # Automatically cache Maven dependencies to speed up builds cache: 'maven' - - name: Build and Test with Maven - # Run all tests (including Spring Boot context loads) to ensure stability - run: mvn clean verify + - name: Make Maven Wrapper executable + # This fixes the "Permission denied" error on Linux runners + run: chmod +x mvnw + + - name: Build and Test with Maven Wrapper + # Uses the wrapper to guarantee the correct Maven version + run: ./mvnw clean verify # ------------------------------------------------------------------ # JOB 2: Docker Build & Push (CD)