mirror of
https://github.com/actions/cache.git
synced 2025-04-22 03:56:45 +00:00
Remove validation failures and warning annotations (#108)
* Update warnings behavior * Add void return type
This commit is contained in:
parent
639f9d8b81
commit
95c1798369
8 changed files with 82 additions and 40 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue