Skip to content

Commit 09efcdb

Browse files
add cache github action to maven deploy workflow
1 parent ed443fe commit 09efcdb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ jobs:
4141
path: e2e
4242
ref: ${{ inputs.ref }}
4343

44+
- name: Cache
45+
uses: actions/cache@v3
46+
with:
47+
path: ~/.m2/repository
48+
key: ${{ runner.os }}-maven-cdap-e2e-framework-${{ hashFiles('**/pom.xml') }}
49+
restore-keys: |
50+
${{ runner.os }}-maven-cdap-e2e-framework
51+
4452
- name: Import GPG key
4553
run: |
4654
echo "$GPG_PRIVATE_KEY" > private.key

0 commit comments

Comments
 (0)