Update android.yml

This commit is contained in:
猫耳逆变器 2020-02-28 23:22:42 +08:00 committed by GitHub
parent 6b09d463a8
commit 96506b62ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,18 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v1
with:
path: ~/.gradle/wrapper/
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradlewrapper-
- uses: actions/cache@v1
with:
path: ~/.android/build-cache
key: ${{ runner.os }}-build-cache-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-build-cache-
- name: Build
env:
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}