add workflow

This commit is contained in:
2025-02-04 10:23:05 +00:00
parent 4e03c6bf3b
commit a76bf0c6a0
+23
View File
@@ -0,0 +1,23 @@
name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml