Browse Source

Update 'android-studio/.github/workflows/main.yml'

天问 2 years ago
parent
commit
6614c51b46
1 changed files with 9 additions and 0 deletions
  1. 9 0
      android-studio/.github/workflows/main.yml

+ 9 - 0
android-studio/.github/workflows/main.yml

@@ -20,6 +20,15 @@ jobs:
         with:
           java-version: 1.8
 
+      - name: cache
+        id: cache
+        uses: actions/cache@v1
+          with:
+            path: ~/.gradle/caches
+            key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
+            restore-keys: |
+              ${{ runner.os }}-gradle-
+
       - name: Build Debug APK
         run: |
           chmod +x gradlew