mirror of
https://github.com/actions/cache.git
synced 2025-05-25 19:42:29 +00:00
Remove validation failures and warning annotations (#108)
* Update warnings behavior * Add void return type
This commit is contained in:
@ -77,6 +77,11 @@ export function getCacheState(): ArtifactCacheEntry | undefined {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export function logWarning(message: string): void {
|
||||
const warningPrefix = "[warning]";
|
||||
core.info(`${warningPrefix}${message}`);
|
||||
}
|
||||
|
||||
export function resolvePath(filePath: string): string {
|
||||
if (filePath[0] === "~") {
|
||||
const home = os.homedir();
|
||||
|
Reference in New Issue
Block a user