Skip to content

Commit 17b9e6d

Browse files
Create workflow
1 parent 2073eb9 commit 17b9e6d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/main.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Java build CI
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
9+
- uses: actions/checkout@v2
10+
- name: Set up JDK 21
11+
uses: actions/setup-java@v1
12+
with:
13+
java-version: 21
14+
- name: Compile with Maven
15+
run: mvn -B -U compile
16+
- name: Test
17+
run: mvn -B -U test

0 commit comments

Comments
 (0)