Skip to content

Commit fb0e999

Browse files
authored
Update docs.yml
1 parent 9c2cdb1 commit fb0e999

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
env:
1313
FSHARP_DIR: fsharp
1414
FSF_DIR: FSharp.Formatting
15-
BUILDING_USING_DOTNET: true
1615

1716
jobs:
1817
build:
@@ -39,14 +38,14 @@ jobs:
3938
uses: actions/setup-dotnet@v3
4039
with:
4140
global-json-file: ${{ env.FSF_DIR }}/global.json
41+
- name: Restore local FSharp.Core project in current repo
42+
run: dotnet restore FSharp.Core/FSharp.Core.fsproj
4243
- name: Build FSharp.Core in fsharp main
43-
run: dotnet build --restore src/FSharp.Core/FSharp.Core.fsproj
44+
run: dotnet build src/FSharp.Core/FSharp.Core.fsproj /p:BUILDING_USING_DOTNET=true
4445
working-directory: ${{ env.FSHARP_DIR }}
4546
- name: Build FSharp.Formatting main
4647
run: dotnet fsi ./build.fsx -t Build
4748
working-directory: ${{ env.FSF_DIR }}
48-
- name: Restore local FSharp.Core project in current repo
49-
run: dotnet restore FSharp.Core/FSharp.Core.fsproj
5049
- name: Run fsdocs
5150
run: dotnet FSharp.Formatting/src/fsdocs-tool/bin/Release/net6.0/fsdocs.dll build --sourcefolder ${{ env.FSHARP_DIR }}
5251
- name: Deploy

0 commit comments

Comments
 (0)