Rework CI to trigger executions within each module (#148)

This commit is contained in:
Stefano Cordio
2024-11-04 12:41:36 +01:00
committed by GitHub
parent 0a7fef6c7b
commit 0a296bae49
7 changed files with 60 additions and 56 deletions

View File

@@ -8,27 +8,20 @@ on:
paths:
- 'spring-batch-notion/**'
defaults:
run:
working-directory: spring-batch-notion
env:
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: ./mvnw $MAVEN_ARGS verify javadoc:javadoc
working-directory: spring-batch-notion