File tree Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Expand file tree Collapse file tree 2 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
os : [windows-latest]
15
- dotnet : [3.1.302 ]
15
+ dotnet : [5.0.400 ]
16
16
runs-on : ${{ matrix.os }}
17
17
18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
- name : Setup .NET Core
21
21
uses : actions/setup-dotnet@v1
22
22
with :
23
- dotnet-version : 3.1.201
23
+ dotnet-version : 5.0.400
24
24
- name : Restore tools
25
25
run : dotnet tool restore
26
26
- name : Restore projects
34
34
- name : Build FSharp.Formatting master
35
35
run : cd FSharp.Formatting && .\build -t Build
36
36
- name : Run fsdocs
37
- run : FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Release\netcoreapp3.1 \fsdocs.exe build --sourcefolder fsharp
37
+ run : dotnet FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Release\net5.0 \fsdocs.dll build --sourcefolder fsharp
38
38
- name : Deploy
39
39
uses : peaceiris/actions-gh-pages@v3
40
40
with :
Original file line number Diff line number Diff line change
1
+ name : Release docs
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ strategy :
9
+ matrix :
10
+ os : [windows-latest]
11
+ dotnet : [5.0.400]
12
+ runs-on : ${{ matrix.os }}
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Setup .NET Core
17
+ uses : actions/setup-dotnet@v1
18
+ with :
19
+ dotnet-version : 5.0.400
20
+ - name : Restore tools
21
+ run : dotnet tool restore
22
+ - name : Restore projects
23
+ run : dotnet restore FSharp.Core\FSharp.Core.fsproj
24
+ - name : Checkout fsharp master
25
+ run : git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
26
+ - name : Build fsharp master (turn of CI build status)
27
+ run : cd fsharp && eng\CIBuild.cmd
28
+ - name : Checkout FSharp.Formatting master
29
+ run : git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
30
+ - name : Build FSharp.Formatting master
31
+ run : cd FSharp.Formatting && .\build -t Build
32
+ - name : Run fsdocs
33
+ run : dotnet FSharp.Formatting\src\FSharp.Formatting.CommandTool\bin\Release\net5.0\fsdocs.dll build --sourcefolder fsharp
You can’t perform that action at this time.
0 commit comments