Skip to content

Commit 942125d

Browse files
committed
Revert "Use directory symlink instead of junction for Dev Drive"
This reverts commit fce8d2d.
1 parent e602ba3 commit 942125d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/actions/setup-build-environment/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,7 @@ runs:
4747
}
4848
4949
New-Item -ItemType Directory -Path Z:\fast | Out-Null
50-
# Use a directory symbolic link (not a junction). Go's
51-
# `filepath.EvalSymlinks` handles dir symlinks correctly but returns
52-
# "cannot find the path specified" on junctions rooted at a newly
53-
# mounted VHDX (hits `bundle.TestRootLookup` in the unit test suite).
54-
# Requires Developer Mode, which is enabled on GH Windows runners.
55-
cmd /c "mklink /D C:\a\_fast Z:\fast" | Out-Null
50+
New-Item -ItemType Junction -Path C:\a\_fast -Target Z:\fast | Out-Null
5651
New-Item -ItemType Directory -Path `
5752
C:\a\_fast\tmp, C:\a\_fast\go-build, C:\a\_fast\go-mod, C:\a\_fast\go-tmp | Out-Null
5853

0 commit comments

Comments
 (0)