Skip to content

Commit a0b44a9

Browse files
nficanoclaude
andcommitted
ci: install dotnet under the runner home (DOTNET_INSTALL_DIR)
setup-dotnet defaults to /usr/share/dotnet, which the self-hosted runner user cannot create. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4d13b31 commit a0b44a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ 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
4245
DOTNET_NOLOGO: "true"
4346
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
4447
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true"

0 commit comments

Comments
 (0)