mirror of
https://github.com/actions/setup-go.git
synced 2025-05-04 14:14:34 +00:00
build
This commit is contained in:
@ -40,6 +40,9 @@ const cachePackages = async () => {
|
||||
);
|
||||
|
||||
if (nonExistingPaths.length === cachePaths.length) {
|
||||
core.warning(`There are no cache folders on the disk`);
|
||||
logWarning(`There are no cache folders on the disk`)
|
||||
return;
|
||||
throw new Error(`There are no cache folders on the disk`);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user