Skip to content

Build [camel-component] #61

Build [camel-component]

Build [camel-component] #61

Workflow file for this run

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