perf: gradle cache

This commit is contained in:
lisonge 2024-07-16 21:58:14 +08:00
parent 3757a8df81
commit 55b1dac875
2 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,11 @@ jobs:
distribution: 'adopt'
java-version: '17'
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
gradle-home-cache-cleanup: true
- name: write secrets info
run: |
echo ${{ secrets.GKD_STORE_FILE_BASE64 }} | base64 --decode > ${{ github.workspace }}/key.jks

View File

@ -16,6 +16,11 @@ jobs:
distribution: 'adopt'
java-version: '17'
- uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
gradle-home-cache-cleanup: true
- name: write secrets info
run: |
echo ${{ secrets.GKD_STORE_FILE_BASE64 }} | base64 --decode > ${{ github.workspace }}/key.jks