From 14cd17293c62376abc8c762084819a1e08db1520 Mon Sep 17 00:00:00 2001 From: Stefano Cordio Date: Mon, 5 Apr 2021 14:10:02 +0200 Subject: [PATCH] Bump actions/setup-java to version 2 --- .github/workflows/codeql-analysis.yml | 3 ++- .github/workflows/cross-version.yml | 3 ++- .github/workflows/main.yml | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 94673dce13..67c1194164 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,8 +42,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' java-version: 11 # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/cross-version.yml b/.github/workflows/cross-version.yml index 1acda8b8c7..b8fd801051 100644 --- a/.github/workflows/cross-version.yml +++ b/.github/workflows/cross-version.yml @@ -14,8 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' java-version: ${{ matrix.java }} - name: Cache Maven Repository uses: actions/cache@v2 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2080d53633..019f572b1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' java-version: 11 - name: Cache Maven Repository uses: actions/cache@v2 @@ -35,8 +36,9 @@ jobs: with: fetch-depth: 0 - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' java-version: 11 - name: Cache Maven Repository uses: actions/cache@v2