add common pipeline for main and 2.1.x branches (#1256)

This commit is contained in:
erabii
2023-03-15 17:24:24 +02:00
committed by GitHub
parent 4883ea6ff7
commit 0fb6b2d52f
19 changed files with 525 additions and 2 deletions

View 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') }}