Skip to content

Commit f95658e

Browse files
authored
Merge pull request #350 from KristianKarl/master
Add windows build to github workflow
2 parents 3caca3b + b214aea commit f95658e

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Java CI with Maven
1+
name: Build and test on latest Ubuntu and Java 11
22

33
on:
44
push:
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and test on latest Windows and Java 11
2+
3+
on:
4+
push:
5+
branches: master
6+
pull_request:
7+
branches: master
8+
workflow_dispatch:
9+
branches: [ $default-branch ]
10+
11+
jobs:
12+
build:
13+
14+
runs-on: windows-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v2
20+
with:
21+
java-version: '11'
22+
distribution: 'adopt'
23+
- name: Grant execute permission for mvnw
24+
run: chmod +x mvnw
25+
- name: Build with Maven
26+
run: ./mvnw -B package --file pom.xml
27+

0 commit comments

Comments
 (0)