Skip to content

Commit f60896a

Browse files
committed
run builds also on windows-latest and macos-latest
1 parent 29dc86e commit f60896a

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ ubuntu-latest ]
2322
java: [8, 11, 17]
23+
os: [ ubuntu-latest ]
24+
include:
25+
- java: 11
26+
os: windows-latest
27+
- java: 11
28+
os: macos-latest
2429

2530
steps:
2631
# Check out Git repository
@@ -49,7 +54,3 @@ jobs:
4954
# Build & verify example
5055
- name: Build and verify example
5156
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean verify -f example
52-
53-
# Run code coverage check
54-
- name: Run code coverage check
55-
run: bash <(curl -s https://codecov.io/bash)

.github/workflows/maven-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4747
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U clean deploy site
4848

49+
# Run code coverage check
50+
- name: Run code coverage check
51+
run: bash <(curl -s https://codecov.io/bash)
52+
4953
# Deploy site to Github Pages
5054
- name: Stage and deploy site
5155
run: >

0 commit comments

Comments
 (0)