CI: fix 'Update Gradle Wrapper' (#7238)

The action needs a JDK 21, but the step to install it wasn't running for us because an incorrect check was added.
This commit is contained in:
Jorge Martin Espinosa
2026-07-17 16:29:43 +02:00
committed by GitHub
parent c2d90ed870
commit 4a9fd056eb
@@ -18,7 +18,6 @@ jobs:
persist-credentials: false
- uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
name: Use JDK 21
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'