|
|
|
@ -17,7 +17,7 @@ export async function restoreImpl(
|
|
|
|
earlyExit?: boolean | undefined
|
|
|
|
earlyExit?: boolean | undefined
|
|
|
|
): Promise<string | undefined> {
|
|
|
|
): Promise<string | undefined> {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (!utils.isCacheFeatureAvailable()) {
|
|
|
|
if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) {
|
|
|
|
core.setOutput(Outputs.CacheHit, "false");
|
|
|
|
core.setOutput(Outputs.CacheHit, "false");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|