From 932366fa1257290c2a675956f47f083bbdea4ab5 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Thu, 5 Dec 2024 00:13:30 +0100 Subject: [PATCH] Add Cache action to avoid downloading too many things --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16c8f90..f1b72b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,14 @@ jobs: with: node-version: '20' + - name: Restore dependency cache + uses: actions/cache@v4 + with: + path: | + cypress/openrefine-*.tar.gz + **/node_modules + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Build with Maven run: mvn -B package