Skip to content

Caching

Caching #15

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
cache-dependency-path: 'sub-project/pom.xml' # optional
- run: mvn -B clean package verify