@@ -3,45 +3,44 @@ name: Release docs
33on :
44 schedule :
55 # Triggers the workflow every day at 17:30 UTC
6- - cron : ' 30 17 * * *'
6+ - cron : " 30 17 * * *"
77 push :
88 branches :
99 - main
1010 workflow_dispatch :
1111
1212jobs :
1313 build :
14-
1514 strategy :
1615 matrix :
1716 os : [windows-latest]
18- dotnet : [6.0.203 ]
17+ dotnet : [6.0.302 ]
1918 runs-on : ${{ matrix.os }}
2019
2120 steps :
22- - uses : actions/checkout@v2
23- - name : Setup .NET Core
24- uses : actions/setup-dotnet@v1
25- with :
26- dotnet-version : 6.0.203
27- - name : Restore tools
28- run : dotnet tool restore
29- - name : Restore projects
30- run : dotnet restore FSharp.Core\FSharp.Core.fsproj
31- - name : Checkout fsharp master
32- run : git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
33- - name : Build fsharp master (turn of CI build status)
34- run : cd fsharp && eng\CIBuild.cmd
35- - name : Checkout FSharp.Formatting master
36- run : git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
37- - name : Build FSharp.Formatting master
38- run : cd FSharp.Formatting && .\build -t Build
39- - name : Run fsdocs
40- run : dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net6.0\fsdocs.dll build --sourcefolder fsharp
41- - name : Deploy
42- uses : peaceiris/actions-gh-pages@v3
43- with :
44- personal_token : ${{ secrets.GITHUB_TOKEN }}
45- publish_dir : ./output
46- publish_branch : gh-pages
47- force_orphan : true
21+ - uses : actions/checkout@v2
22+ - name : Setup .NET Core
23+ uses : actions/setup-dotnet@v1
24+ with :
25+ dotnet-version : 6.0.302
26+ - name : Restore tools
27+ run : dotnet tool restore
28+ - name : Restore projects
29+ run : dotnet restore FSharp.Core\FSharp.Core.fsproj
30+ - name : Checkout fsharp master
31+ run : git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
32+ - name : Build fsharp master (turn of CI build status)
33+ run : cd fsharp && eng\CIBuild.cmd
34+ - name : Checkout FSharp.Formatting master
35+ run : git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
36+ - name : Build FSharp.Formatting master
37+ run : cd FSharp.Formatting && .\build -t Build
38+ - name : Run fsdocs
39+ run : dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net6.0\fsdocs.dll build --sourcefolder fsharp
40+ - name : Deploy
41+ uses : peaceiris/actions-gh-pages@v3
42+ with :
43+ personal_token : ${{ secrets.GITHUB_TOKEN }}
44+ publish_dir : ./output
45+ publish_branch : gh-pages
46+ force_orphan : true
0 commit comments