Skip to content

Commit edf7908

Browse files
nficanoclaude
andcommitted
ci: install .NET into runner-writable dir (fix /home/app leftover on GitHub-hosted runner)
The 2026-06-16 migration to GitHub-hosted ubuntu-24.04-arm left the self-hosted DOTNET_INSTALL_DIR=/home/app/.dotnet, which is not writable on hosted runners, so setup-dotnet failed at 'mkdir /home/app'. Point it at ${{ runner.temp }}/dotnet instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d5cd3cf commit edf7908

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
matrix:
4040
tfm: [net10.0]
4141
env:
42-
# setup-dotnet defaults to /usr/share/dotnet, not writable by the
43-
# self-hosted runner user.
44-
DOTNET_INSTALL_DIR: /home/app/.dotnet
42+
# Install the .NET SDK into a runner-writable directory.
43+
DOTNET_INSTALL_DIR: ${{ runner.temp }}/dotnet
4544
DOTNET_NOLOGO: "true"
4645
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
4746
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"

0 commit comments

Comments
 (0)