Update .forgejo/workflows/release.yml

This commit is contained in:
root 2025-06-25 11:07:18 +01:00
parent 563be82cb3
commit f265687fcc

View file

@ -72,9 +72,10 @@ jobs:
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: