X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmaven.yml;h=6845e9467ea7f55ccd80eda753687fca2960e0e1;hb=dcfa67d58e160a3b0e17a93b31eb095f6e017b93;hp=63c8b15475fc257850f7045f6ce3fbae2c599953;hpb=38e5f1c4b304d7b2e75e2d2098fb4d71abe7ac22;p=demos%2Fkafka%2Fchat diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 63c8b154..6845e946 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,18 +1,10 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: Java CI with Maven +name: Maven-Build on: push: - branches: [ "backend" ] + branches: [ "**" ] pull_request: - branches: [ "backend" ] + branches: [ "**" ] jobs: build: @@ -28,7 +20,7 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn -B verify # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph