From df1c3b1a8df40a601fa1b72d358c66563d7717b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 05:52:59 -0300 Subject: [PATCH] Bump actions/setup-java from 2 to 3 (#11275) Resolves #11307 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/codeql-java-analysis.yml | 2 +- .../workflows/codeql-js-adapter-analysis.yml | 2 +- .github/workflows/codeql-theme-analysis.yml | 2 +- .github/workflows/operator-ci.yml | 2 +- .../workflows/release-operator-container.yml | 2 +- .github/workflows/snyk.yml | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81857384f3..2d0b6954aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} @@ -67,7 +67,7 @@ jobs: needs: build steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} @@ -109,7 +109,7 @@ jobs: needs: build steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} @@ -183,7 +183,7 @@ jobs: # find ~ -name *dist*.zip # ls -lR ~/.m2/repository - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 if: ${{ github.event_name != 'pull_request' || matrix.server != 'undertow-map-hot-rod' || env.GIT_HOTROD_RELEVANT_DIFF != 0 }} with: distribution: 'temurin' @@ -251,7 +251,7 @@ jobs: path: ~/.m2/repository/org/keycloak/ name: keycloak-artifacts.zip - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} with: distribution: 'temurin' @@ -291,7 +291,7 @@ jobs: - name: Check whether this phase should run run: echo "GIT_DIFF=$[ $( git diff --name-only HEAD^ | egrep -ic 'crossdc|infinispan' ) + $( git diff HEAD^ pom.xml | egrep -ic '\+\s+' ) ]" >> $GITHUB_ENV - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} with: distribution: 'temurin' @@ -366,7 +366,7 @@ jobs: with: path: ~/.m2/repository/org/keycloak/ name: keycloak-artifacts.zip - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} @@ -416,7 +416,7 @@ jobs: with: path: ~/.m2/repository/org/keycloak/ name: keycloak-artifacts.zip - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} @@ -469,7 +469,7 @@ jobs: with: path: keycloak - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 8 diff --git a/.github/workflows/codeql-java-analysis.yml b/.github/workflows/codeql-java-analysis.yml index ceab188d74..2df754cb81 100644 --- a/.github/workflows/codeql-java-analysis.yml +++ b/.github/workflows/codeql-java-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' diff --git a/.github/workflows/codeql-js-adapter-analysis.yml b/.github/workflows/codeql-js-adapter-analysis.yml index 18bcb9fff9..9d71f2c92a 100644 --- a/.github/workflows/codeql-js-adapter-analysis.yml +++ b/.github/workflows/codeql-js-adapter-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' diff --git a/.github/workflows/codeql-theme-analysis.yml b/.github/workflows/codeql-theme-analysis.yml index ea9e35c44d..06a0fdba5c 100644 --- a/.github/workflows/codeql-theme-analysis.yml +++ b/.github/workflows/codeql-theme-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' diff --git a/.github/workflows/operator-ci.yml b/.github/workflows/operator-ci.yml index 0be8c9e84e..f89e0e2214 100644 --- a/.github/workflows/operator-ci.yml +++ b/.github/workflows/operator-ci.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.JDK_VERSION }} diff --git a/.github/workflows/release-operator-container.yml b/.github/workflows/release-operator-container.yml index fcebc44acd..ff763434c0 100644 --- a/.github/workflows/release-operator-container.yml +++ b/.github/workflows/release-operator-container.yml @@ -35,7 +35,7 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_TOKEN }} - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: ${{ env.JDK_VERSION }} diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 17ebaaeaae..dc9f4e5883 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: java-version: ${{ env.DEFAULT_JDK_VERSION }} distribution: temurin @@ -43,7 +43,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: java-version: ${{ env.DEFAULT_JDK_VERSION }} distribution: temurin