Skip to content

Commit 34b766c

Browse files
committed
post-deployment-script: shorten Actions Runner path
We were running into errors like: gpg-agent[768]: socket name '/d/actions-runner/_work/git-for-windows-automation/git-for-windows- automation/home/.gnupg/S.gpg-agent.extra' is too long By setting the runner path to /a instead of /actions-runner, we resolve this (and potential future) long path issues, just like GitHub does themselves for their hosted runners. Signed-off-by: Dennis Ameling <[email protected]>
1 parent a538b16 commit 34b766c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-self-hosted-runners/post-deployment-script.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $GithubActionsRunnerArch = "arm64"
2929
$GithubActionsRunnerHash = "9409e50d9ad33d8031355ed079b8f56cf3699f35cf5d0ca51e54deed432758ef"
3030
$GithubActionsRunnerLabels = "self-hosted,Windows,ARM64"
3131
# Keep this path short to prevent Long Path issues
32-
$GitHubActionsRunnerPath = "C:\actions-runner"
32+
$GitHubActionsRunnerPath = "C:\a"
3333

3434
# ======================
3535
# WINDOWS DEVELOPER MODE

0 commit comments

Comments
 (0)