Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 087f201

Browse files
authored
Merge pull request #88 from nojaf/fix-ci
Bump dotnet sdk.
2 parents 11c2fda + 3e2f78b commit 087f201

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,28 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [windows-latest]
17-
dotnet: [6.0.203]
1817
runs-on: ${{ matrix.os }}
1918

2019
steps:
2120
- uses: actions/checkout@v3
2221
- name: Setup .NET Core
23-
uses: actions/setup-dotnet@v2
22+
uses: actions/setup-dotnet@v3
2423
with:
25-
dotnet-version: 6.0.203
24+
dotnet-version: 7.0.100
2625
- name: Restore tools
2726
run: dotnet tool restore
2827
- name: Restore projects
2928
run: dotnet restore FSharp.Core\FSharp.Core.fsproj
30-
- name: Checkout fsharp master
29+
- name: Checkout fsharp main
3130
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
31+
- name: Build fsharp main (turn of CI build status)
32+
run: cd fsharp && eng\CIBuild.cmd -noVisualStudio
33+
- name: Checkout FSharp.Formatting main
3534
run: git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
36-
- name: Build FSharp.Formatting master
35+
- name: Build FSharp.Formatting main
3736
run: cd FSharp.Formatting && .\build -t Build
3837
- name: Run fsdocs
39-
run: dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net6.0\fsdocs.dll build --sourcefolder fsharp
38+
run: dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net7.0\fsdocs.dll build --sourcefolder fsharp
4039
- name: Deploy
4140
uses: peaceiris/actions-gh-pages@v3
4241
with:

.github/workflows/pr.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [windows-latest]
13-
dotnet: [6.0.203]
1413
runs-on: ${{ matrix.os }}
1514

1615
steps:
1716
- uses: actions/checkout@v3
1817
- name: Setup .NET Core
19-
uses: actions/setup-dotnet@v2
18+
uses: actions/setup-dotnet@v3
2019
with:
21-
dotnet-version: 6.0.203
20+
dotnet-version: 7.0.100
2221
- name: Restore tools
2322
run: dotnet tool restore
2423
- name: Restore projects
2524
run: dotnet restore FSharp.Core\FSharp.Core.fsproj
26-
- name: Checkout fsharp master
25+
- name: Checkout fsharp main
2726
run: git clone https://github.com/dotnet/fsharp --depth 1 fsharp -b main
28-
- name: Build fsharp master (turn of CI build status)
29-
run: cd fsharp && eng\CIBuild.cmd
30-
- name: Checkout FSharp.Formatting master
27+
- name: Build fsharp main (turn of CI build status)
28+
run: cd fsharp && eng\CIBuild.cmd -noVisualStudio
29+
- name: Checkout FSharp.Formatting main
3130
run: git clone https://github.com/fsprojects/FSharp.Formatting --depth 1 FSharp.Formatting
32-
- name: Build FSharp.Formatting master
31+
- name: Build FSharp.Formatting main
3332
run: cd FSharp.Formatting && .\build -t Build
3433
- name: Run fsdocs
35-
run: dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net6.0\fsdocs.dll build --sourcefolder fsharp
34+
run: dotnet FSharp.Formatting\src\fsdocs-tool\bin\Release\net7.0\fsdocs.dll build --sourcefolder fsharp

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ FSharp.Formatting/
99
.fsdocs/
1010
FSharp.Core/obj/
1111
tmp/
12-
12+
.idea/

0 commit comments

Comments
 (0)