diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 6ae61ed..2c2e9ae 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -38,6 +38,5 @@ jobs: 10.x - name: Restore dependencies - run: | - dotnet tool restore - dotnet restore FSharp.Control.R3.slnx + # Restoring the solution restores the local tools first (see Directory.Build.targets) + run: dotnet restore FSharp.Control.R3.slnx diff --git a/Directory.Build.targets b/Directory.Build.targets index e69ea9e..8b9a078 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -11,8 +11,18 @@ See https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-director <_DotnetFantomasOutputFile>$(BaseIntermediateOutputPath)dotnet-fantomas-msbuild-$(NETCoreSdkVersion)-$(OS) - - + + + + + + @@ -51,6 +61,7 @@ See https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-director +