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

Skip to content

Commit a54ba6b

Browse files
authored
Update pr.yml
1 parent 240d7b0 commit a54ba6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-latest
15+
runs-on: windows-latest
1616
steps:
1717
- uses: actions/checkout@v3
1818
- name: Checkout fsharp main
@@ -35,13 +35,13 @@ jobs:
3535
uses: actions/setup-dotnet@v3
3636
with:
3737
global-json-file: ${{ env.FSF_DIR }}/global.json
38+
- name: Restore local FSharp.Core project in current repo
39+
run: dotnet restore FSharp.Core\FSharp.Core.fsproj
3840
- name: Build FSharp.Core in fsharp main
39-
run: dotnet build --restore src/FSharp.Core/FSharp.Core.fsproj
41+
run: dotnet build src\FSharp.Core\FSharp.Core.fsproj /p:BUILDING_USING_DOTNET=true
4042
working-directory: ${{ env.FSHARP_DIR }}
4143
- name: Build FSharp.Formatting main
4244
run: dotnet fsi ./build.fsx -t Build
4345
working-directory: ${{ env.FSF_DIR }}
44-
- name: Restore local FSharp.Core project in current repo
45-
run: dotnet restore FSharp.Core/FSharp.Core.fsproj
4646
- name: Run fsdocs
4747
run: dotnet FSharp.Formatting/src/fsdocs-tool/bin/Release/net6.0/fsdocs.dll build --sourcefolder ${{ env.FSHARP_DIR }}

0 commit comments

Comments
 (0)