Skip to content

Commit

Permalink
add cache github action to maven deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Oct 14, 2022
1 parent ed443fe commit 09efcdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
path: e2e
ref: ${{ inputs.ref }}

- name: Cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-cdap-e2e-framework-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-cdap-e2e-framework
- name: Import GPG key
run: |
echo "$GPG_PRIVATE_KEY" > private.key
Expand Down

0 comments on commit 09efcdb

Please sign in to comment.