Skip to content

Merge pull request #19 from ueberfuhr-trainings/feature/api-consumer #72

Merge pull request #19 from ueberfuhr-trainings/feature/api-consumer

Merge pull request #19 from ueberfuhr-trainings/feature/api-consumer #72

Workflow file for this run

name: CI Build
on:
push:
branches:
- "main"
paths:
- "customer-api-provider/**"
- "customer-api-consumer/**"
- ".github/**"
pull_request:
branches:
- "main"
paths:
- "customer-api-provider/**"
- "customer-api-consumer/**"
- ".github/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build API Provider with Maven
working-directory: customer-api-provider
run: mvn -B package --file pom.xml
- name: Build API Consumer with Maven
working-directory: customer-api-consumer
run: mvn -B package --file pom.xml