Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit d7b4723

Browse files
committed
Update pr workflow for macos and windows
1 parent 0a62910 commit d7b4723

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/pr.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@ on:
55

66
jobs:
77
build:
8-
runs-on: ubuntu-latest
8+
runs-on: ${{ matrix.os }}
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
java: [ '17' ]
12+
include:
13+
- nickname: macos
14+
os: macos-latest
15+
- nickname: linux
16+
os: ubuntu-latest
17+
- nickname: windows
18+
os: windows-latest
1319
name: CI Build ${{ matrix.java }}
1420
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-java@v2
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-java@v4
1723
with:
1824
distribution: adopt
19-
java-version: ${{ matrix.java }}
25+
java-version: 17
2026
cache: gradle
2127
- run: ./gradlew build --no-daemon

0 commit comments

Comments
 (0)