Skip to content

Commit

Permalink
Valid yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Sep 6, 2023
1 parent a5e95c7 commit c07b50e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
repository: dotnet/fsharp
path: ${{ env.FSHARP_DIR }}
ref: main
- name: Setup .NET for FSharp
uses: actions/setup-dotnet@v3
with:
global-json-file: ${{ env.FSHARP_DIR }}/global.json
- name: Restore tools
run: dotnet tool restore
- name: Setup .NET for FSharp
uses: actions/setup-dotnet@v3
with:
global-json-file: ${{ env.FSHARP_DIR }}/global.json
- name: Restore tools
run: dotnet tool restore

- name: Build FCS
run: dotnet build src/Compiler/FSharp.Compiler.Service.fsproj /p:BUILDING_USING_DOTNET=true
working-directory: ${{ env.FSHARP_DIR }}
- name: Build FCS
run: dotnet build src/Compiler/FSharp.Compiler.Service.fsproj /p:BUILDING_USING_DOTNET=true
working-directory: ${{ env.FSHARP_DIR }}

- name: Run fsdocs
env:
# allow roll forward to latest major version - this would happen for us if we invoked the fsdocs tool instead of invoking the binary directly
DOTNET_ROLL_FORWARD: "LatestMajor"
# need previews because .NET 8 is what's being used at runtime
DOTNET_ROLL_FORWARD_TO_PRERELEASE: "1"
run: dotnet fsdocs build --sourcefolder fsharp --input fsharp/docs
- name: Run fsdocs
env:
# allow roll forward to latest major version - this would happen for us if we invoked the fsdocs tool instead of invoking the binary directly
DOTNET_ROLL_FORWARD: "LatestMajor"
# need previews because .NET 8 is what's being used at runtime
DOTNET_ROLL_FORWARD_TO_PRERELEASE: "1"
run: dotnet fsdocs build --sourcefolder fsharp --input fsharp/docs

0 comments on commit c07b50e

Please sign in to comment.