diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index a2b84d1..93ef7b7 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -95,9 +95,12 @@ jobs: with: distribution: 'temurin' # See 'Supported distributions' for available options java-version: '21' + check-latest: true + cache: 'maven' + # cache-dependency-path: 'sub-project/pom.xml' # optional - name: Build with Maven run: | - echo "mvn clean install -DskipTests" + echo "mvn clean install -DskipTests && mvn -B package --file pom.xml" mvn --version - name: List files in the repository