Просмотр исходного кода

use gradle/gradle-build-action for actions cache

HalfLife 4 лет назад
Родитель
Сommit
2a4064194f
2 измененных файлов с 0 добавлено и 17 удалено
  1. 0 9
      .github/workflows/release.yml
  2. 0 8
      .github/workflows/test.yml

+ 0 - 9
.github/workflows/release.yml

@@ -45,15 +45,6 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 1
           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
       - name: Release Apk Sign
         run: |
         run: |

+ 0 - 8
.github/workflows/test.yml

@@ -50,14 +50,6 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/checkout@v3
         with:
         with:
           fetch-depth: 0
           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
       - name: Clear 18PlusList.txt
         run: |
         run: |
           echo "清空18PlusList.txt"
           echo "清空18PlusList.txt"