Skip to content

Commit 513c1d8

Browse files
committed
chore: add windows machine in ci
1 parent f852163 commit 513c1d8

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/maven.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
linux-build:
11-
name: "JDK 21 Eclipse Temurin"
11+
name: "JDK 21 Eclipse Temurin Linux"
1212
runs-on: ubuntu-latest
1313
container: "maven:3.9.6-eclipse-temurin-21"
1414
steps:
@@ -32,27 +32,27 @@ jobs:
3232
files: ./rewrite-testcontainers-gitserver/target/site/jacoco/jacoco.xml, ./testcontainers-gitserver/target/site/jacoco/jacoco.xml
3333
fail_ci_if_error: true
3434
verbose: false
35-
windows-build:
36-
name: "JDK 21 Eclipse Temurin"
37-
runs-on: windows-latest
38-
steps:
39-
- uses: actions/checkout@v4
40-
- uses: actions/cache@v4
41-
with:
42-
path: ~/.m2/repository
43-
key: maven-jdk17-windows-${{ hashFiles('**/pom.xml') }}
44-
restore-keys: maven-jdk17
45-
- uses: actions/setup-java@v4
46-
with:
47-
distribution: 'temurin'
48-
java-version: '17'
49-
- uses: stCarolas/setup-maven@v5
50-
with:
51-
maven-version: 3.9.6
52-
- name: 'Build'
53-
run: |
54-
mvn
55-
--fail-at-end \
56-
--batch-mode \
57-
--no-transfer-progress \
58-
clean verify \
35+
windows-build:
36+
name: "JDK 21 Eclipse Temurin Windows"
37+
runs-on: windows-latest
38+
steps:
39+
- uses: actions/checkout@v4
40+
- uses: actions/cache@v4
41+
with:
42+
path: ~/.m2/repository
43+
key: maven-jdk17-windows-${{ hashFiles('**/pom.xml') }}
44+
restore-keys: maven-jdk17
45+
- uses: actions/setup-java@v4
46+
with:
47+
distribution: 'temurin'
48+
java-version: '17'
49+
- uses: stCarolas/setup-maven@v5
50+
with:
51+
maven-version: 3.9.6
52+
- name: 'Build'
53+
run: |
54+
mvn
55+
--fail-at-end \
56+
--batch-mode \
57+
--no-transfer-progress \
58+
clean verify \

0 commit comments

Comments
 (0)