From de0026ae3e148972a55dfc73e6e117e9e17df3e8 Mon Sep 17 00:00:00 2001 From: Paul Sterl Date: Thu, 2 Nov 2023 12:20:13 +0100 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bc8ed02..512fd5d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,3 +1,5 @@ +# https://docs.github.com/en/github-ae@latest/actions/automating-builds-and-tests/building-and-testing-java-with-maven + name: Java CI with Maven on: @@ -12,10 +14,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: 'zulu' + cache: maven - name: Build with Maven run: mvn -B package --file pom.xml + + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6