Update .gitea/workflows/deploy.yml

This commit is contained in:
admin 2025-03-22 16:43:13 +08:00
parent a857621a58
commit bf11fb5d19

View File

@ -12,9 +12,9 @@ jobs:
- name: List files in the repository
run: |
docker run --rm \
-v ${{ github.workspace }}:/usr/src/app \
-w /usr/src/app \
maven:3.9.9-eclipse-temurin-17 ls -l
-v ${{ github.workspace }}:/usr/src/app \
-w /usr/src/app \
maven:3.9.9-eclipse-temurin-17 ls -l
- name: Build with Maven using Docker
run: |
docker run --rm -v ${{ gitea.workspace }}:/usr/src/app -v /data/app/maven-repo:/root/.m2/repository -w /usr/src/app maven:3.9.9-eclipse-temurin-17 mvn clean install -Dmaven.test.skip=true