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

@@ -1,21 +1,24 @@
name: Spring Batch Geode
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- 'spring-batch-geode/**'
push:
paths:
- 'spring-batch-geode/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'temurin'
java-version: '1.8'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package
working-directory: spring-batch-geode