Test provision with more Gradle versions

Include Gradle 8.8 since it is the pre-installed version on Windows runners.
This commit is contained in:
daz 2024-07-19 13:33:12 -06:00
parent 5d7c18409c
commit 4576973cce
No known key found for this signature in database

View file

@ -59,6 +59,9 @@ jobs:
uses: ./setup-gradle uses: ./setup-gradle
with: with:
gradle-version: current gradle-version: current
- name: Test use current
working-directory: .github/workflow-samples/no-wrapper
run: gradle help
- name: Check current version output parameter - name: Check current version output parameter
if: ${{ !startsWith(steps.gradle-current.outputs.gradle-version , '8.') }} if: ${{ !startsWith(steps.gradle-current.outputs.gradle-version , '8.') }}
uses: actions/github-script@v7 uses: actions/github-script@v7
@ -70,7 +73,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
gradle: [7.3, 6.9, 5.6.4, 4.10.3, 3.5.1] gradle: [8.9, 8.8, 7.6.4, 6.9.4, 5.6.4, 4.10.3, 3.5.1] # 8.8 is the latest installed on windows runners
os: ${{fromJSON(inputs.runner-os)}} os: ${{fromJSON(inputs.runner-os)}}
include: include:
- java-version: 11 - java-version: 11