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,23 +1,24 @@
name: Spring Batch BigQuery
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- 'spring-batch-bigquery/**'
push:
paths:
- 'spring-batch-bigquery/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: '17'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
working-directory: spring-batch-bigquery
run: mvn -B package
working-directory: spring-batch-bigquery