Skip to content

Commit e97d564

Browse files
committed
CI on the main branch
1 parent 003368d commit e97d564

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Java CI with Maven
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v3
16+
with:
17+
java-version: '11'
18+
distribution: 'temurin'
19+
cache: maven
20+
- name: Build with Maven
21+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)