diff options
Diffstat (limited to '.github/workflows/maven.yml')
| -rw-r--r-- | .github/workflows/maven.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7f25a193..b810104b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,6 +1,6 @@ name: Java CI with Maven -on: [push] +on: [ push, pull_request ] jobs: test: @@ -9,10 +9,11 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '20' + java-version: '21' distribution: 'temurin' + cache: 'maven' - name: Build with Maven run: mvn --batch-mode --update-snapshots verify
\ No newline at end of file |
