@@ -23,22 +23,20 @@ jobs:
2323
2424 steps :
2525 - uses : actions/checkout@v3
26- - name : Setup .NET Core
27- uses : actions/setup-dotnet@v3
28- with :
29- dotnet-version : |
30- 7.0.100
31- 7.0.202
32- - name : Restore tools
33- run : dotnet tool restore
34- - name : Restore projects
35- run : dotnet restore FSharp.Core\FSharp.Core.fsproj
3626 - name : Checkout fsharp main
3727 uses : actions/checkout@v3
3828 with :
3929 repository : dotnet/fsharp
4030 path : ${{ env.FSHARP_DIR }}
4131 ref : main
32+ - name : Setup .NET Core for FSharp
33+ uses : actions/setup-dotnet@v3
34+ with :
35+ global-json-file : ${{ env.FSHARP_DIR }}/global.json
36+ - name : Restore tools
37+ run : dotnet tool restore
38+ - name : Restore projects
39+ run : dotnet restore FSharp.Core\FSharp.Core.fsproj
4240 - name : Build FSharp.Core in fsharp main
4341 run : dotnet build .\src\FSharp.Core\ /p:BUILDING_USING_DOTNET=true
4442 working-directory : ${{ env.FSHARP_DIR }}
@@ -48,11 +46,15 @@ jobs:
4846 repository : fsprojects/FSharp.Formatting
4947 path : ${{ env.FSF_DIR }}
5048 ref : main
49+ - name : Setup .NET Core for FSharp.Formatting
50+ uses : actions/setup-dotnet@v3
51+ with :
52+ global-json-file : ${{ env.FSF_DIR }}/global.json
5153 - name : Build FSharp.Formatting main
5254 run : .\build -t Build
5355 working-directory : ${{ env.FSF_DIR }}
5456 - name : Run fsdocs
55- run : dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net7 .0\fsdocs.dll build --sourcefolder ${{ env.FSHARP_DIR }}
57+ run : dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net6 .0\fsdocs.dll build --sourcefolder ${{ env.FSHARP_DIR }}
5658 - name : Deploy
5759 uses : peaceiris/actions-gh-pages@v3
5860 with :
0 commit comments