From 0d3a66205b86df600ad14b851aabbf90d099926b Mon Sep 17 00:00:00 2001 From: khaos Date: Sat, 7 Dec 2024 17:21:15 +0700 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eeaf71827..7dc8640d4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -122,10 +122,11 @@ jobs: uses: actions/cache@v3 with: path: ~/.gradle - key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }} + key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties', '**/build.gradle*') }} restore-keys: | ${{ runner.os }}-gradle- + - name: 安装 JDK 11 if: env.jdk_installed == 'false' && env.should_build == 'true' run: |