From bd3cab846039f9396259660158c1b6f69827dbf3 Mon Sep 17 00:00:00 2001 From: Kiran Hart Date: Fri, 19 May 2023 09:55:03 -0400 Subject: [PATCH] =?UTF-8?q?=E2=AD=95=20re-add=20action=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Took 1 minute --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a631121 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file