diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6675b0dc67..5180c9e19a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: changes: ${{ steps.check-changes.outputs.changes }} steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 24bcd81cb8..39bf519e39 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -114,7 +114,7 @@ jobs: - name: Check if OpenAPI is configured id: check_config run: echo "api_path=$(yq '.api_path' 'projects/${{ matrix.project }}/tech-docs/config/tech-docs.yml')" | tee -a "$GITHUB_OUTPUT" - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 if: startsWith(steps.check_config.outputs.api_path, 'http') with: java-version: '21' diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 646d342ea8..3a31f9d580 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,7 +21,7 @@ jobs: if: github.ref_name == 'main' steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 10d0a65d31..bb042707da 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -105,7 +105,7 @@ jobs: - get-projects steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: 21 distribution: temurin diff --git a/.github/workflows/templates.yml b/.github/workflows/templates.yml index ca670ac41e..9b5d3622bb 100644 --- a/.github/workflows/templates.yml +++ b/.github/workflows/templates.yml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin'