Skip to content

Commit a5d90d4

Browse files
committed
Update github build action
1 parent 2a3a4e9 commit a5d90d4

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,28 @@ on:
77

88
jobs:
99
build:
10-
strategy:
11-
matrix:
12-
os: [ macOS-latest, windows-latest ]
13-
runs-on: ${{matrix.os}}
14-
timeout-minutes: 40
10+
runs-on: windows-latest
11+
timeout-minutes: 20
1512
steps:
16-
- name: Checkout sources
17-
uses: actions/checkout@v5
18-
- name: Setup Java
19-
uses: actions/setup-java@v5
20-
with:
21-
distribution: 'temurin'
22-
java-version: 21
23-
- name: Setup Gradle
24-
uses: gradle/actions/setup-gradle@v4
25-
- name: Build with Gradle
26-
run: ./gradlew build
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-java@v5
15+
with:
16+
java-version: '21'
17+
distribution: 'liberica'
18+
cache: 'gradle'
19+
- name: Gradle Wrapper Validation
20+
uses: gradle/wrapper-validation-action@v1.0.4
21+
- name: Gradle Build
22+
uses: gradle/gradle-build-action@v3
23+
with:
24+
arguments: test jvmTest
25+
- name: Publish Test Report
26+
uses: mikepenz/action-junit-report@v6
27+
if: ${{ !cancelled() }} # always run even if the previous step fails
28+
with:
29+
report_paths: '**/test-results/**/TEST-*.xml'
30+
annotate_only: true
31+
detailed_summary: true
32+
flaky_summary: true
33+
include_empty_in_summary: false
34+
skip_success_summary: true

0 commit comments

Comments
 (0)