From 267bd3644c6cf282368de7e6420ef502ee63f312 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 20 Aug 2024 18:42:39 +0200 Subject: [PATCH] ci: add cache --- .gitea/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a03de0b..114364a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -33,6 +33,14 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'oracle' + - uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle- - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} run: |