From 14b148d711d8adbea1b218e5edbcd875a6046be2 Mon Sep 17 00:00:00 2001 From: huanghs Date: Wed, 22 Mar 2023 11:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.gitea/workflows/build.ya?= =?UTF-8?q?ml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index bf8974a..e9218ec 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,11 +11,21 @@ jobs: DOCKER_REGISTRY: registry.cn-hangzhou.aliyuncs.com DOCKER_USERNAME: rsjst steps: + - 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: Setup Java uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 + cache: gradle - name: Get Meta