File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
gradle-tasks-with-emulator Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 59
59
- name : restore cache for ${{inputs.write-cache-key}}
60
60
id : restore-write-cache
61
61
if : inputs.write-cache-key != 'null'
62
- uses : actions/cache/restore@v3
62
+ uses : actions/cache/restore@v4
63
63
with :
64
64
path : |
65
65
~/.gradle/caches/build-cache-1
77
77
# Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match.
78
78
- name : restore cache for ${{inputs.restore-cache-key}}
79
79
if : inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
80
- uses : actions/cache/restore@v3
80
+ uses : actions/cache/restore@v4
81
81
with :
82
82
path : |
83
83
~/.gradle/caches/build-cache-1
@@ -110,7 +110,7 @@ runs :
110
110
# Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if
111
111
# they try to write to it.
112
112
- name : save the '${{inputs.write-cache-key}}' cache
113
- uses : actions/cache/save@v3
113
+ uses : actions/cache/save@v4
114
114
id : save-write-cache-key
115
115
if : inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
116
116
with :
Original file line number Diff line number Diff line change 53
53
54
54
# Get the AVD if it's already cached.
55
55
- name : AVD cache
56
- uses : actions/cache/restore@v3
56
+ uses : actions/cache/restore@v4
57
57
id : restore-avd-cache
58
58
with :
59
59
path : |
80
80
- name : cache new AVD before tests
81
81
if : steps.restore-avd-cache.outputs.cache-hit != 'true'
82
82
id : save-avd-cache
83
- uses : actions/cache/save@v3
83
+ uses : actions/cache/save@v4
84
84
with :
85
85
path : |
86
86
~/.android/avd/*
Original file line number Diff line number Diff line change 1
1
name : Kotlin CI
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
4
# Use pull_request_target so we can lock the runner down to run only on the main branch.
8
5
# When we want to test changes to this workflow, then we can use:
9
6
# pull_request :
You can’t perform that action at this time.
0 commit comments