mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
chore: cache gradle wrapper directory
updating action/cache to v2 allows to cache multiple paths
This commit is contained in:
parent
df44c045e3
commit
1f28b21bcb
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -51,9 +51,11 @@ jobs:
|
||||
|
||||
# Cache Gradle dependencies
|
||||
- name: Setup Cache
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle-
|
||||
|
||||
@ -94,9 +96,11 @@ jobs:
|
||||
|
||||
# Cache Gradle dependencies
|
||||
- name: Setup Cache
|
||||
uses: actions/cache@v1
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle-
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user