From 663499a5df178b0e0cdad8e1e6c2cb079114dc11 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Jun 2021 09:48:09 +0100 Subject: [PATCH] Bump actions/setup-java from 1 to 2.1.0 (#210) * Bump actions/setup-java from 1 to 2.1.0 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 2.1.0. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v1...v2.1.0) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update build-maven.yml * Update deploy-sonatype.yml * Update build-maven.yml * Update build-maven.yml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paul Campbell --- .github/workflows/build-maven.yml | 5 +++-- .github/workflows/deploy-sonatype.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-maven.yml b/.github/workflows/build-maven.yml index 0da4ffc..f4c6b40 100644 --- a/.github/workflows/build-maven.yml +++ b/.github/workflows/build-maven.yml @@ -11,13 +11,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 8, 11, 15 ] + java: [ 8, 11, 16 ] steps: - uses: kamiazya/setup-graphviz@v1 - uses: actions/checkout@v2 - name: setup-jdk-${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.1.0 with: + distribution: 'adopt' java-version: ${{ matrix.java }} - name: build-jar run: mvn -B install diff --git a/.github/workflows/deploy-sonatype.yml b/.github/workflows/deploy-sonatype.yml index ff7cfef..b5ba18e 100644 --- a/.github/workflows/deploy-sonatype.yml +++ b/.github/workflows/deploy-sonatype.yml @@ -13,8 +13,9 @@ jobs: - uses: kamiazya/setup-graphviz@v1 - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.1.0 with: + distribution: 'adopt' java-version: 8 - name: Build with Maven run: mvn -B install