From d782f30d10f88f58aeb345d593aebf48b3cf4e91 Mon Sep 17 00:00:00 2001 From: HalfLife Date: Wed, 12 Oct 2022 10:49:51 +0800 Subject: [PATCH] use gradle/gradle-build-action for actions cache --- .github/workflows/release.yml | 9 --------- .github/workflows/test.yml | 8 -------- 2 files changed, 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e243922ae..c9e82fd04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,15 +45,6 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1 - - - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}- - name: Release Apk Sign run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6f2fa452..b2029b005 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,14 +50,6 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/cache@v3 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}- - name: Clear 18PlusList.txt run: | echo "清空18PlusList.txt"