+23
.github/workflows/build.yml
+23
.github/workflows/build.yml
···
1
+
name: CI
2
+
3
+
on:
4
+
push:
5
+
branches: [ "main" ]
6
+
pull_request:
7
+
branches: [ "main" ]
8
+
9
+
jobs:
10
+
build:
11
+
12
+
runs-on: ubuntu-latest
13
+
14
+
steps:
15
+
- uses: actions/checkout@v3
16
+
- name: Set up JDK 17
17
+
uses: actions/setup-java@v3
18
+
with:
19
+
java-version: '17'
20
+
distribution: 'temurin'
21
+
cache: maven
22
+
- name: Build with Maven
23
+
run: mvn -B package --file pom.xml