add maven test and upload artifact
Some checks failed
Gitea Action Maven build / build (push) Failing after 37s

This commit is contained in:
Eduard Kuksa 2025-01-28 23:40:23 +07:00
parent e855d7c583
commit bd9adafcbb

View File

@ -22,3 +22,10 @@ jobs:
cache: 'maven' cache: 'maven'
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- name: Run tests
run: mvn test
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact
path: target/*.jar