Extend build to use Java; add second step

This commit is contained in:
Eros Candelaresi 2021-07-15 14:53:39 +02:00
parent 10db664070
commit e842e2ec63

View file

@ -2,9 +2,18 @@ name: Build Petclinic
on: [ push ] on: [ push ]
jobs: jobs:
Build-Petclinic: Build-Petclinic:
runs-on: ubuntu-latest runs-on: ubuntu
steps: steps:
- name: Check out repo code - name: Check out repo code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Java 8
uses: actions/setup-java@v2
with:
java-version: '8'
- run: echo "Hello Github Actions" - run: echo "Hello Github Actions"
- run: find - run: find
- run: ./mvnw compile
Test-Petclinic:
runs-on: ubuntu
steps:
- run: find