test: add maven workflow

This commit is contained in:
ColdDev 2022-10-24 20:09:49 +01:00
parent 5d94aae6b5
commit e30747cf33

View File

@ -17,11 +17,11 @@ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml