mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-08-19 11:20:22 +00:00
Release v1.0.3
This commit is contained in:
parent
44543250bd
commit
cffae9552b
12 changed files with 114 additions and 52 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