mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
edit .yml again
This commit is contained in:
parent
1f573e8156
commit
854208c00b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -2,7 +2,7 @@ name: Build and Test
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -16,9 +16,10 @@ jobs:
|
|||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
- name: Run tests with Maven
|
||||
run: mvn -B test --file pom.xml
|
||||
run: mvn -B test --file pom.xml
|
||||
|
|
Loading…
Reference in a new issue