Skip to content

Commit f8ea293

Browse files
committed
add test for Mac OS and Windows
1 parent 4f71158 commit f8ea293

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,25 @@ permissions:
1717

1818
jobs:
1919
build:
20-
name: Build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
24+
- name: Set up JDK for running Gradle
25+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
26+
with:
27+
distribution: temurin
28+
java-version: 17
29+
30+
- name: Set up gradle
31+
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
32+
with:
33+
cache-read-only: ${{ github.event_name == 'pull_request' }}
34+
- name: Gradle build and test
35+
run: ./gradlew build -x test
36+
37+
test:
38+
name: Test
2139
runs-on: ${{ matrix.os }}
2240
strategy:
2341
fail-fast: false

0 commit comments

Comments
 (0)