Skip to content

Commit 7c8880f

Browse files
committed
Workflow action for starter projects
1 parent 3fef13c commit 7c8880f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/starter.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Starter Build
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'starters/**'
7+
push:
8+
paths:
9+
- 'starters/**'
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
java_version: [1.8, 11, 13]
18+
os: [ubuntu-latest, windows-latest, macOS-latest]
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v1
23+
- name: Set up JDK ${{ matrix.java_version }}
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: ${{ matrix.java_version }}
27+
- name: Prepare
28+
run: cd starters
29+
- name: Build
30+
run: mvn clean package

0 commit comments

Comments
 (0)