test: add maven workflow

This commit is contained in:
ColdDev 2022-10-24 20:10:37 +01:00
parent 122926284c
commit aff1656c14

View File

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