re-add action workflow

Took 1 minute
This commit is contained in:
Kiran Hart 2023-05-19 09:55:03 -04:00
parent 29daef5deb
commit bd3cab8460
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3

26
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Auction House Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '8'
- name: Cache Maven Packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn verify -B --file pom.xml