Skip to content

Commit 506824c

Browse files
ting-yuanmkmuir0
authored andcommitted
Update actions/cache to v4.
(cherry picked from commit 1957ba0)
1 parent 9ab939e commit 506824c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/auto-merge.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050

5151
# Build cache
5252
- name: Cache Gradle Cache
53-
uses: actions/cache@v2
53+
uses: actions/cache@v4
5454
with:
5555
path: ~/.gradle/caches
5656
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }}
5757
# An ordered list of keys to use for restoring the cache if no cache hit occurred for key
5858
restore-keys: |
5959
${{ runner.os }}-gradle-
6060
- name: Cache gradle wrapper
61-
uses: actions/cache@v2
61+
uses: actions/cache@v4
6262
with:
6363
path: ~/.gradle/wrapper
6464
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646

4747
# Build cache
4848
- name: Cache Gradle Cache
49-
uses: actions/cache@v2
49+
uses: actions/cache@v4
5050
with:
5151
path: ~/.gradle/caches
5252
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }}
5353
# An ordered list of keys to use for restoring the cache if no cache hit occurred for key
5454
restore-keys: |
5555
${{ runner.os }}-gradle-
5656
- name: Cache gradle wrapper
57-
uses: actions/cache@v2
57+
uses: actions/cache@v4
5858
with:
5959
path: ~/.gradle/wrapper
6060
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525

2626
# Build cache
2727
- name: Cache Gradle Cache
28-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2929
with:
3030
path: ~/.gradle/caches
3131
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }}
3232
# An ordered list of keys to use for restoring the cache if no cache hit occurred for key
3333
restore-keys: |
3434
${{ runner.os }}-gradle-
3535
- name: Cache gradle wrapper
36-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3737
with:
3838
path: ~/.gradle/wrapper
3939
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

0 commit comments

Comments
 (0)