mirror of
https://mirror.skon.top/github.com/gkd-kit/gkd
synced 2026-04-30 22:01:36 +08:00
chore: github actions cache
This commit is contained in:
11
.github/workflows/Build-Apk.yml
vendored
11
.github/workflows/Build-Apk.yml
vendored
@@ -13,6 +13,17 @@ jobs:
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
cache: 'gradle'
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew build
|
||||
|
||||
|
||||
11
.github/workflows/Build-Release.yml
vendored
11
.github/workflows/Build-Release.yml
vendored
@@ -15,6 +15,17 @@ jobs:
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
cache: 'gradle'
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user