Skip to content

Commit

Permalink
Fix for "Unable to locate dotnet CLI. Ensure that it is on the PATH." m…
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwille committed Nov 17, 2024
1 parent 36abb39 commit 5ba75bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ilspy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: microsoft/setup-msbuild@v2

- name: Install dotnet-format
run: dotnet tool install -g dotnet-format --version "8.0.453106" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json
run: dotnet tool install -g dotnet-format --version "8.3.546805" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json

- name: Get Version
id: version
Expand Down
2 changes: 1 addition & 1 deletion BuildTools/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

set -eu

DOTNET_FORMAT_VERSION=8.0.453106
DOTNET_FORMAT_VERSION=8.3.546805
DOTNET_PATH="$LOCALAPPDATA/ICSharpCode/ILSpy/dotnet-format-$DOTNET_FORMAT_VERSION"
if [ ! -d "$DOTNET_PATH" ]; then
echo "Downloading dotnet-format $DOTNET_FORMAT_VERSION..."
Expand Down

0 comments on commit 5ba75bf

Please sign in to comment.