Update README with note on setting DOTNET_INSTALL_DIR for Linux permission issues#689
Merged
HarithaVattikuti merged 2 commits intoactions:mainfrom Dec 22, 2025
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the setup-dotnet action's documentation and improves the .NET installation scripts. It adds guidance for users experiencing permission issues on self-hosted Linux runners and includes maintenance updates to dependencies and installation scripts.
- Added documentation explaining how to set
DOTNET_INSTALL_DIRto user-writable paths for Linux runners with permission constraints - Updated js-yaml dependency from 3.14.1 to 3.14.2 and 4.1.0 to 4.1.1 in package-lock.json
- Enhanced installation scripts with improved quoting, redirect handling, and spelling corrections
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| README.md | Added documentation with examples for setting DOTNET_INSTALL_DIR and a note about permission issues on self-hosted/large Linux runners |
| package-lock.json | Updated js-yaml dependency versions (3.14.1→3.14.2 and 4.1.0→4.1.1) |
| externals/install-dotnet.sh | Improved shell script robustness with proper variable quoting, added -L flag to curl for following redirects, updated redirect validation to allow proxy-injected 200 status codes, and removed redundant Quality parameter documentation |
| externals/install-dotnet.ps1 | Fixed spelling errors ("deterministicly"→"deterministically", "dowloading"→"downloading", "oververbose"→"verbose"), added -UseBasicParsing flag to Invoke-WebRequest, removed redundant Quality parameter documentation, and updated digital signature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lmvysakh
approved these changes
Dec 16, 2025
aparnajyothi-y
approved these changes
Dec 18, 2025
HarithaVattikuti
approved these changes
Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR updates the README to include a note for setting DOTNET_INSTALL_DIR to a user-writable path on self-hosted or large Linux runners, helping users avoid permission errors during .NET installation.
Related issue:
#518
Check list: