mirror of
https://github.com/actions/setup-go.git
synced 2025-04-02 01:06:06 +08:00
Fix path replace
Signed-off-by: Anton Troshin <anton@diagrid.io>
This commit is contained in:
parent
97e00a50c1
commit
434fb17078
@ -228,7 +228,7 @@ async function cacheWindowsDir(
|
||||
const actualCacheDirectoryPaths = cacheDirectoryPaths.map(path => {
|
||||
return {
|
||||
defaultPath: path,
|
||||
actualPath: path.replace('D:', 'C:').replace('d:', 'c:')
|
||||
actualPath: path.replace('C:', 'D:').replace('c:', 'd:')
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user