File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed
Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 11name : CI
2+ permissions :
3+ contents : write
24on :
35 push :
46 branches :
911
1012jobs :
1113 test :
12- name : ' ${{ matrix.platform }} with Java ${{ matrix.java-version }}'
14+ name : ' ${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java- version }}'
1315 strategy :
1416 matrix :
1517 platform :
1618 - ubuntu-latest
17- - windows-latest
18- - macos-latest
19+ java-distribution :
20+ - adopt-hotspot
21+ - temurin
22+ - zulu
1923 java-version :
2024 - 8
2125 - 11
26+ include :
27+ - platform : windows-latest
28+ java-distribution : adopt-hotspot
29+ java-version : 11
30+ - platform : macos-latest
31+ java-distribution : adopt-hotspot
32+ java-version : 11
2233 runs-on : ${{ matrix.platform }}
34+ timeout-minutes : 5
2335 steps :
2436 - name : Checkout
2537 uses : actions/checkout@v4
2638 - name : Set up JDK
2739 uses : actions/setup-java@v4
2840 with :
29- distribution : adopt-hotspot
41+ distribution : ${{ matrix.java-distribution }}
3042 java-version : ${{ matrix.java-version }}
43+ - name : Setup Gradle
44+ uses : gradle/actions/setup-gradle@v4
45+ - name : Generate and submit dependency graph
46+ if : ${{ github.event_name == 'push' }}
47+ uses : gradle/actions/dependency-submission@v4
3148 - name : Test
3249 run : ./gradlew check -S --no-daemon --no-parallel
You can’t perform that action at this time.
0 commit comments