You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2020/06/04 12:01:35 UTC
[hadoop-ozone] 17/18: fix repository caching
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch acceptance-coverage
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit 3d1d0d29557604e2b10b996e0d18eef41b489447
Author: Elek Márton <el...@apache.org>
AuthorDate: Thu Jun 4 13:59:38 2020 +0200
fix repository caching
---
.github/workflows/post-commit.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index f05a9f8..5409dcb 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -22,8 +22,8 @@ jobs:
steps:
- uses: actions/cache@v2
with:
- path: ~/.m2/reposttory
- key: maven-dependencies
+ path: ~/.m2/repository
+ key: maven-repo-${{ hashFiles('**/pom.xml') }}
- run: |
sudo chmod 777 /mnt
git clone https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone
@@ -43,4 +43,4 @@ jobs:
#Never cache local artifacts
rm -rf ~/.m2/repository/org/apache/hadoop/hdds
rm -rf ~/.m2/repository/org/apache/hadoop/ozone
- if: always()
\ No newline at end of file
+ if: always()
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org