From f265687fccfaceac624d2bd8dfcf46747f1a538a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jun 2025 11:07:18 +0100 Subject: [PATCH] Update .forgejo/workflows/release.yml --- .forgejo/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index ecf8163..a0c8d08 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -71,10 +71,11 @@ jobs: run: | cd src/main/webapp npm run build - - # DEBUG .m2 repo - - name: Debug .m2 cache state + + # Build the backend (JAR). NOTE: the -Dmaven.download.parallel=false will force MAVEN to have a single connection for downloads, without this I can get "Connection reset" + - name: Build backend (Spring Boot) run: | + echo "DEBUG Outputs ************************* " echo "Container hostname: $(hostname)" echo "Runner working dir: $PWD" echo "Runner user: $(whoami)" @@ -82,11 +83,9 @@ jobs: ls -lhR ~/.m2/repository | head -n 100 || echo "No .m2/repository found" echo "Disk usage:" du -sh ~/.m2/repository || echo "No .m2 directory found" - - # Build the backend (JAR). NOTE: the -Dmaven.download.parallel=false will force MAVEN to have a single connection for downloads, without this I can get "Connection reset" - - name: Build backend (Spring Boot) - run: | - mvn clean package -Pprod -DskipTests -Dmaven.download.parallel=false -s .forgejo/workflows/ci-settings.xml + echo " " + echo "BUILD Outputs ************************* " + mvn clean package -Pprod -DskipTests -Dmaven.download.parallel=false -Dmaven.repo.local=/root/.m2/repository -s .forgejo/workflows/ci-settings.xml container: image: maven:3.9-eclipse-temurin-17 volumes: