From e842e2ec63763f753abaec7f59ecec89ff94ca0e Mon Sep 17 00:00:00 2001 From: Eros Candelaresi Date: Thu, 15 Jul 2021 14:53:39 +0200 Subject: [PATCH] Extend build to use Java; add second step --- .github/workflows/petclinic.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/petclinic.yaml b/.github/workflows/petclinic.yaml index 85f21096c..f97ea6ef8 100644 --- a/.github/workflows/petclinic.yaml +++ b/.github/workflows/petclinic.yaml @@ -2,9 +2,18 @@ name: Build Petclinic on: [ push ] jobs: Build-Petclinic: - runs-on: ubuntu-latest + runs-on: ubuntu steps: - name: Check out repo code uses: actions/checkout@v2 + - name: Set up Java 8 + uses: actions/setup-java@v2 + with: + java-version: '8' - run: echo "Hello Github Actions" + - run: find + - run: ./mvnw compile + Test-Petclinic: + runs-on: ubuntu + steps: - run: find \ No newline at end of file