Rework CI to trigger executions within each module (#148)
This commit is contained in:
17
.github/workflows/spring-batch-bigquery.yml
vendored
17
.github/workflows/spring-batch-bigquery.yml
vendored
@@ -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
|
||||
|
||||
19
.github/workflows/spring-batch-elasticsearch.yml
vendored
19
.github/workflows/spring-batch-elasticsearch.yml
vendored
@@ -1,21 +1,24 @@
|
||||
name: Spring Batch Elasticsearch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- 'spring-batch-elasticsearch/**'
|
||||
push:
|
||||
paths:
|
||||
- 'spring-batch-elasticsearch/**'
|
||||
|
||||
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-elasticsearch
|
||||
|
||||
16
.github/workflows/spring-batch-excel.yml
vendored
16
.github/workflows/spring-batch-excel.yml
vendored
@@ -1,22 +1,24 @@
|
||||
name: Spring Batch Excel
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- 'spring-batch-excel/**'
|
||||
push:
|
||||
paths:
|
||||
- 'spring-batch-excel/**'
|
||||
|
||||
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
|
||||
run: mvn -B package
|
||||
working-directory: spring-batch-excel
|
||||
|
||||
19
.github/workflows/spring-batch-geode.yml
vendored
19
.github/workflows/spring-batch-geode.yml
vendored
@@ -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
|
||||
|
||||
16
.github/workflows/spring-batch-neo4j.yml
vendored
16
.github/workflows/spring-batch-neo4j.yml
vendored
@@ -1,22 +1,24 @@
|
||||
name: Spring Batch Neo4j
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- 'spring-batch-neo4j/**'
|
||||
push:
|
||||
paths:
|
||||
- 'spring-batch-neo4j/**'
|
||||
|
||||
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
|
||||
run: mvn -B package
|
||||
working-directory: spring-batch-neo4j
|
||||
|
||||
13
.github/workflows/spring-batch-notion.yml
vendored
13
.github/workflows/spring-batch-notion.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user