chore: GitHub Actionの改善

This commit is contained in:
usbharu 2023-09-30 14:33:00 +09:00
parent 88a9919ff7
commit 9ebcedd093
1 changed files with 6 additions and 3 deletions

View File

@ -22,11 +22,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/cache@2
- name: Cache
uses: actions/cache@v3.3.2
with:
path: ~/.gradle/wrapper
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- uses: actions/cache@2
- name: Cache
uses: actions/cache@v3.3.2
with:
path: |
~/.gradle/caches/jars-*
@ -34,7 +36,8 @@ jobs:
~/.gradle/caches/modules-*
key: gradle-dependencies-${{ steps.cache-key.outputs.week }}-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: gradle-dependencies-${{ steps.cache-key.outputs.week }}-
- uses: actions/cache@v2
- name: Cache
uses: actions/cache@v3.3.2
with:
path: |
~/.gradle/caches/build-cache-*