Skip to content

[ci] Update actions/cache from v2 to v4 #72

[ci] Update actions/cache from v2 to v4

[ci] Update actions/cache from v2 to v4 #72

name: Build [kstreams-live-update]
on:
push:
paths:
- 'kstreams-live-update/**'
- '.github/workflows/kstreams-live-update-workflow.yml'
pull_request:
paths:
- 'kstreams-live-update/**'
- '.github/workflows/kstreams-live-update-workflow.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('kstreams-live-update/**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in [kstreams-live-update] (event-source) example
run: cd kstreams-live-update && mvn clean install -f event-source/pom.xml -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Check changes in [kstreams-live-update] (aggregator) example
run: cd kstreams-live-update && mvn clean install -f aggregator/pom.xml -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120