-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 957 Bytes
/
cross-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Cross Version
on:
push:
branches:
- main
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
ci:
name: "Java ${{ matrix.java.version}}"
runs-on: ubuntu-latest
if: ${{ github.repository == 'ciscoo/gradle-java-template' }}
strategy:
matrix:
java:
- version: 22
toolchain: true
- version: 23
toolchain: true
early-access: true
- version: 24
toolchain: true
early-access: true
steps:
- name: Check Out Repository
uses: actions/checkout@v4
- name: Setup Gradle
uses: ./.github/actions/setup-gradle
with:
java-version: ${{ matrix.java.version }}
java-early-access: ${{ matrix.java.early-access || 'false' }}
java-toolchain: ${{ matrix.java.toolchain }}
- name: Run Checks
shell: bash
run: ./gradlew check