File tree Expand file tree Collapse file tree 3 files changed +58
-27
lines changed
Expand file tree Collapse file tree 3 files changed +58
-27
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,26 @@ on: workflow_dispatch
44
55jobs :
66 build :
7-
87 runs-on : ubuntu-latest
98
109 defaults :
1110 run :
1211 working-directory : .
1312
1413 steps :
15- - uses : actions/checkout@v2
16- - name : Setup .NET 6
17- uses : actions/setup-dotnet@v1
18- with :
19- dotnet-version : 6.x
20- - name : Setup .NET 7
21- uses : actions/setup-dotnet@v1
22- with :
23- dotnet-version : 7.x
24- - name : nuget publish
25- env :
26- nuget_push : ${{ secrets.NUGET_API_KEY }}
27- run : dotnet fsi build.fsx publish
14+ - uses : actions/checkout@v2
15+
16+ - name : Setup .NET 6
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ dotnet-version : 6.x
20+
21+ - name : Setup .NET 7
22+ uses : actions/setup-dotnet@v1
23+ with :
24+ dotnet-version : 7.x
25+
26+ - name : nuget publish
27+ env :
28+ nuget_push : ${{ secrets.NUGET_API_KEY }}
29+ run : dotnet fsi build.fsx publish
Original file line number Diff line number Diff line change 1+ name : Publish Docs to GH Pages
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [ master ]
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+
14+ - name : Setup dotnet
15+ uses : actions/setup-dotnet@v3
16+
17+ - name : Build / Release
18+ shell : pwsh
19+ run : ./docu.ps1
20+
21+ - name : Upload artifact
22+ uses : actions/upload-pages-artifact@v1
23+ with :
24+ path : ./Docu
25+
26+
27+
Original file line number Diff line number Diff line change 99
1010jobs :
1111 build :
12-
1312 runs-on : ubuntu-latest
1413
1514 defaults :
1615 run :
1716 working-directory : .
18-
17+
1918 steps :
20- - uses : actions/checkout@v2
21- - name : Setup .NET 6
22- uses : actions/setup-dotnet@v1
23- with :
24- dotnet-version : 6.x
25- - name : Setup .NET 7
26- uses : actions/setup-dotnet@v1
27- with :
28- dotnet-version : 7.x
29- - name : Run Tests
30- run : dotnet fsi build.fsx test
19+ - uses : actions/checkout@v2
20+
21+ - name : Setup .NET 6
22+ uses : actions/setup-dotnet@v1
23+ with :
24+ dotnet-version : 6.x
25+
26+ - name : Setup .NET 7
27+ uses : actions/setup-dotnet@v1
28+ with :
29+ dotnet-version : 7.x
30+
31+ - name : Run Tests
32+ run : dotnet fsi build.fsx test
You can’t perform that action at this time.
0 commit comments