diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ef166a..af9eae1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,9 +20,10 @@ jobs: with: fetch-depth: 2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '1.8' + java-version: '8' + distribution: 'temurin' - name: Build with Maven run: .github/scripts/build.sh - name: Code coverage report diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff0491b..b884ee8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,9 +20,10 @@ jobs: with: fetch-depth: 2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '1.8' + java-version: '8' + distribution: 'temurin' - name: Build with Maven run: .github/scripts/build.sh - name: Code coverage report @@ -36,9 +37,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '1.8' + java-version: '8' + distribution: 'temurin' - name: Install GPG key run: |- gpg --batch --import-options import-show --import << EOF diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index f972eb1..b8eceec 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -20,9 +20,10 @@ jobs: with: fetch-depth: 2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: '1.8' + java-version: '8' + distribution: 'temurin' - name: Build with Maven run: .github/scripts/build.sh - name: Code coverage report