From 5b561d38879275754f807efc2819a06354200160 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Sun, 24 Nov 2019 08:56:14 -0800 Subject: [PATCH] [MINOR][INFRA] Add GitHub Action Cache on build directory --- .github/workflows/master.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 30f3272c8b933..9338dc7bcbd5e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -29,6 +29,12 @@ jobs: steps: - uses: actions/checkout@master # We split caches because GitHub Action Cache has a 400MB-size limit. + - uses: actions/cache@v1 + with: + path: build + key: build-${{ hashFiles('**/pom.xml') }} + restore-keys: | + build- - uses: actions/cache@v1 with: path: ~/.m2/repository/com