mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Extend build to use Java; add second step
This commit is contained in:
parent
10db664070
commit
e842e2ec63
1 changed files with 10 additions and 1 deletions
11
.github/workflows/petclinic.yaml
vendored
11
.github/workflows/petclinic.yaml
vendored
|
@ -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
|
Loading…
Reference in a new issue