Update .forgejo/workflows/release.yml
This commit is contained in:
parent
563be82cb3
commit
f265687fcc
1 changed files with 7 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue