We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca6bd93 commit 9e88127Copy full SHA for 9e88127
main.ts
@@ -47,8 +47,12 @@ async function run(): Promise<void> {
47
verbose.match(/^\d+$/) ? parseInt(verbose) : verbose === 'true'
48
)
49
50
- if (useCache && !(await saveCache([outputDirectory], id))) {
51
- core.warning(`Failed to cache ${id}`)
+ try {
+ if (useCache && !(await saveCache([outputDirectory], id))) {
52
+ core.warning(`Failed to cache ${id}`)
53
+ }
54
+ } catch (e) {
55
+ core.warning(`Failed to cache ${id}: ${e.message}`)
56
}
57
58
0 commit comments