1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-12-23 06:42:41 +00:00

Fix path replace

Signed-off-by: Anton Troshin <anton@diagrid.io>
This commit is contained in:
Anton Troshin 2024-11-19 10:50:13 -06:00
parent 97e00a50c1
commit 434fb17078
No known key found for this signature in database
GPG key ID: 9F8A96ACA9EB6363

View file

@ -228,7 +228,7 @@ async function cacheWindowsDir(
const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => { const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => {
return { return {
defaultPath: path, defaultPath: path,
actualPath: path.replace('D:', 'C:').replace('d:', 'c:') actualPath: path.replace('C:', 'D:').replace('c:', 'd:')
}; };
}); });