mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-14 13:51:12 +00:00
Changes welcome text in homepage by editing messages.properties
This commit is contained in:
parent
332abbcb8a
commit
3281d072f7
14 changed files with 105 additions and 7 deletions
32
.github/workflows/gradle-build.yml
vendored
32
.github/workflows/gradle-build.yml
vendored
|
|
@ -5,17 +5,16 @@ name: Java CI with Gradle
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '17' ]
|
||||
java: ["17"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -23,9 +22,32 @@ jobs:
|
|||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: ${{matrix.java}}
|
||||
distribution: 'adopt'
|
||||
distribution: "adopt"
|
||||
cache: maven
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
# Below are added codes
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: "17"
|
||||
distribution: "adopt"
|
||||
- name: Run tests
|
||||
run: ./gradlew test
|
||||
|
||||
deploy:
|
||||
runs-on: self-hosted # Use your own machine for deploying
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Deploy to Vagrant VM
|
||||
run: |
|
||||
vagrant up --provision
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue