add common pipeline for main and 2.1.x branches (#1256)
This commit is contained in:
11
.github/workflows/composites/cache/action.yaml
vendored
Executable file
11
.github/workflows/composites/cache/action.yaml
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
name: cache
|
||||
description: cache
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-cache-${{ env.BRANCH_NAME }}-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cache-${{ env.BRANCH_NAME }}-${{ hashFiles('**/pom.xml') }}
|
||||
Reference in New Issue
Block a user