Skip to content

Merge pull request #11 from spring-guides/dependabot/maven/hello-call… #5

Merge pull request #11 from spring-guides/dependabot/maven/hello-call…

Merge pull request #11 from spring-guides/dependabot/maven/hello-call… #5

name: CI Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build Main Branch
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build Hello Spring K8S
working-directory: ./hello-spring-k8s
run: ./mvnw clean package
- name: Build Hello Caller
working-directory: ./hello-caller
run: ./mvnw clean package