mirror of
https://github.com/actions/stale.git
synced 2025-12-14 22:23:57 +00:00
12 lines
299 B
TypeScript
12 lines
299 B
TypeScript
import * as cache from '@actions/cache';
|
|
import path from 'path';
|
|
|
|
export const downloadFileFromActionsCache = (
|
|
destFileName: string,
|
|
cacheKey: string,
|
|
cacheVersion: string
|
|
): Promise<void> =>
|
|
cache.restoreCache([path.dirname(destFileName)], cacheKey, [
|
|
cacheKey
|
|
]) as Promise<void>;
|