-
Notifications
You must be signed in to change notification settings - Fork 850
31 lines (29 loc) · 1.01 KB
/
camel-component.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build [camel-component]
on:
push:
paths:
- 'camel-component/**'
- '.github/workflows/camel-component-workflow.yml'
pull_request:
paths:
- 'camel-component/**'
- '.github/workflows/camel-component-workflow.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('camel-component/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in [camel-component] example
run: cd camel-component && mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120