Skip to content

Commit 47468ba

Browse files
Update dotnet-format to 10.0.100-preview.6.25358.103
1 parent 685f21e commit 47468ba

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build-ilspy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ jobs:
4444
uses: microsoft/setup-msbuild@v2
4545

4646
- name: Install dotnet-format
47-
run: dotnet tool install -g dotnet-format --version "9.0.520307" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json
47+
env:
48+
DOTNET_FORMAT_VERSION: 10.0.100-preview.6.25358.103
49+
DOTNET_FORMAT_SOURCE: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json
50+
run: dotnet tool install -g dotnet-format --version "$DOTNET_FORMAT_VERSION" --add-source "$DOTNET_FORMAT_SOURCE"
4851

4952
- name: Install wix (locked version)
5053
run: dotnet tool install --global wix --version 6.0.0

BuildTools/pre-commit

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55

66
set -eu
77

8-
DOTNET_FORMAT_VERSION=9.0.520307
8+
DOTNET_FORMAT_VERSION=10.0.100-preview.6.25358.103
9+
DOTNET_FORMAT_SOURCE="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json"
910
DOTNET_PATH="$LOCALAPPDATA/ICSharpCode/ILSpy/dotnet-format-$DOTNET_FORMAT_VERSION"
1011
if [ ! -d "$DOTNET_PATH" ]; then
1112
echo "Downloading dotnet-format $DOTNET_FORMAT_VERSION..."
12-
dotnet tool install --tool-path "$DOTNET_PATH" dotnet-format --version "$DOTNET_FORMAT_VERSION" --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json"
13+
dotnet tool install --tool-path "$DOTNET_PATH" dotnet-format --version "$DOTNET_FORMAT_VERSION" --add-source "$DOTNET_FORMAT_SOURCE"
1314
fi
1415

1516
"$DOTNET_PATH/dotnet-format.exe" --version

0 commit comments

Comments
 (0)