Skip to content

Commit 9f5fde2

Browse files
committed
Move using full path name
1 parent 4afe547 commit 9f5fde2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/downloader.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ export async function download(
8686
if (useGitHubCache) {
8787
// Move file to GitHub cache directory
8888
core.debug(`Moving ${destFilePath} to ${cacheDirectory}`)
89+
const cachePath = `${cacheDirectory}/${destFilePath}`
8990
await io.mkdirP(cacheDirectory)
90-
await io.mv(destFilePath, cacheDirectory)
91+
await io.mv(destFilePath, cachePath)
9192
// List files in cache directory
9293
const filesInCacheDirectory = await (
9394
await glob.create(`${cacheDirectory}/**`)

0 commit comments

Comments
 (0)