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 6960836f1f1f15c5bf2c3f7e033b9de4925e7149 Author: Elek Márton <[email protected]> AuthorDate: Wed Jun 3 14:17:18 2020 +0200 use cache --- .github/workflows/post-commit.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index 220542e..436e105 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -20,9 +20,11 @@ jobs: name: acceptance runs-on: ubuntu-18.04 steps: + with: + - uses: actions/cache@v2 + path: ~/.m2/repository + key: maven-dependencies - run: | - set -x - echo $GITHUB_REPOSITORY sudo chmod 777 /mnt git clone https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone cd /mnt/ozone @@ -37,3 +39,8 @@ jobs: with: name: acceptance path: /mnt/ozone/target/acceptance + - runs: | + #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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
