Skip to content

Commit 30f00f4

Browse files
committed
Add github actions
1 parent 1f66f74 commit 30f00f4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/maven.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+
name: build
5+
on:
6+
push:
7+
branches: [ "master" ]
8+
pull_request:
9+
branches: [ "master" ]
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
show-progress: false
20+
# needed for the git-commit-id-plugin to work
21+
fetch-depth: 0
22+
- name: Set up JDK 21
23+
uses: actions/setup-java@v4
24+
with:
25+
java-version: '21'
26+
distribution: 'temurin'
27+
cache: maven
28+
- name: Maven verify
29+
run: mvn verify

0 commit comments

Comments
 (0)