Skip to content

Commit 766f5b1

Browse files
committed
feat: add matrix for strategy
1 parent 62025dd commit 766f5b1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ concurrency:
3333

3434
jobs:
3535
build:
36-
name: Build with Java 8
37-
runs-on: ubuntu-latest
36+
name: Build with Java ${{ matrix.java }} on ${{ matrix.os }}
37+
runs-on: ${{ matrix.os }}
3838
timeout-minutes: 15
3939

40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
java:
44+
- "11"
45+
- "17"
46+
os:
47+
- "ubuntu-latest"
48+
4049
steps:
4150
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4251
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0

0 commit comments

Comments
 (0)