mirror of
https://github.com/actions/cache.git
synced 2026-10-10 13:32:55 +00:00
Release v1.0.3
This commit is contained in:
1 parent
44543250bd
commit
cffae9552b
12 files changed
+114
-52
No files matched your search
@@ -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