mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:35:50 +00:00
Added Workflow
This commit is contained in:
parent
6ab5645487
commit
5ce47b026b
1 changed files with 21 additions and 0 deletions
21
.github/workflows/java.yml
vendored
Normal file
21
.github/workflows/java.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Java CI with Gradle
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: 📥 Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: ☕ Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: 📦 Build with Gradle
|
||||||
|
run: ./gradlew build
|
||||||
|
|
Loading…
Reference in a new issue