mirror of
https://github.com/gradle/actions.git
synced 2025-08-18 23:01:27 +08:00
Configure Java 17 when relevant
This commit is contained in:
parent
3574b901d9
commit
1b708738f6
2
.github/actions/init-integ-test/action.yml
vendored
2
.github/actions/init-integ-test/action.yml
vendored
@ -4,7 +4,7 @@ inputs:
|
||||
java-version:
|
||||
description: 'Java version to use'
|
||||
required: false
|
||||
default: '11'
|
||||
default: '17'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
@ -36,6 +36,8 @@ jobs:
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Initialize integ-test
|
||||
uses: ./.github/actions/init-integ-test
|
||||
with:
|
||||
java-version: '17' # Gradle 9 requires Java 17+ to run
|
||||
|
||||
- name: Setup Gradle with v6.9
|
||||
uses: ./setup-gradle
|
||||
@ -56,7 +58,6 @@ jobs:
|
||||
uses: ./setup-gradle
|
||||
with:
|
||||
gradle-version: release-candidate
|
||||
java-version: '17' # Gradle 9 requires Java 17+ to run
|
||||
- name: Test use release-candidate
|
||||
working-directory: .github/workflow-samples/no-wrapper
|
||||
run: gradle help
|
||||
|
Loading…
x
Reference in New Issue
Block a user