add maven test and upload artifact
Some checks failed
Gitea Action Maven build / build (push) Failing after 37s
Some checks failed
Gitea Action Maven build / build (push) Failing after 37s
This commit is contained in:
parent
e855d7c583
commit
bd9adafcbb
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user