tet123/.github/actions/maven-cache/action.yml
2024-03-04 08:34:56 -05:00

20 lines
396 B
YAML

name: "Maven Cache"
description: "Restores the Maven ~/.m2/repository cache"
inputs:
key:
description: "The maven cache key to use"
required: true
runs:
using: "composite"
steps:
- name: Cache Maven Repository
id: cache-check
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ inputs.key }}
restore-keys: ${{ inputs.key }}