We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40bf3b commit 53f7cc6Copy full SHA for 53f7cc6
.github/workflows/gradle.yml
@@ -15,18 +15,20 @@ on:
15
16
jobs:
17
build:
18
-
19
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
+ strategy:
20
+ matrix:
21
+ java-version: [ 17, 20 ]
22
+ os: [ macos-latest, ubuntu-latest, windows-latest ]
23
permissions:
24
contents: read
25
26
steps:
27
- uses: actions/checkout@v4
- - name: Set up JDK 17
28
+ - name: Set up JDK
29
uses: actions/setup-java@v4
30
with:
- java-version: '17'
- distribution: 'temurin'
31
+ java-version: ${{ matrix.java-version }}
32
- name: Set up node
33
uses: actions/setup-node@v4
34
0 commit comments