Skip to content

Commit

Permalink
Build before running docfx
Browse files Browse the repository at this point in the history
  • Loading branch information
dalyIsaac committed Nov 17, 2024
1 parent bba3c74 commit 7bdce63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/docs_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,16 @@ jobs:
run: |
dotnet tool restore
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2.0.0

- name: Build
run: |
msbuild Whim.sln `
-p:Configuration=$env:Configuration `
-p:Platform=$env:Platform `
-p:BuildInParallel=true `
-maxCpuCount
- name: Run docfx
run: dotnet docfx .\docs\docfx.json
1 change: 0 additions & 1 deletion src/Whim.Yaml/Whim.Yaml.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<PackageReference Include="Corvus.Json.ExtendedTypes" />
<PackageReference Include="Corvus.Json.SourceGenerator">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Yaml2JsonNode" />
<PackageReference Include="YamlDotNet" />
Expand Down

0 comments on commit 7bdce63

Please sign in to comment.