We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29d481 commit 1c60517Copy full SHA for 1c60517
src/downloader.ts
@@ -89,6 +89,13 @@ export async function download(
89
core.debug(`Moving ${destFilePath} to ${cachePath}`)
90
await io.mkdirP(cacheDirectory)
91
await io.mv(destFilePath, cachePath)
92
+ // Create test file in cacheDirectory
93
+ const testFilePath = `${cacheDirectory}/test.txt`
94
+ core.debug(`Creating test file at ${testFilePath}`)
95
+ await fs.promises.writeFile(
96
+ testFilePath,
97
+ `This is a test file to verify that the cache directory is working correctly.`
98
+ )
99
// List files in cache directory
100
const filesInCacheDirectory = await (
101
await glob.create(`${cacheDirectory}/**`)
0 commit comments