Skip to content

Commit

Permalink
Update publish-csharp-apidocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn authored Nov 18, 2024
1 parent 08ac294 commit bafd3e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-csharp-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install DocFX
run: |
dotnet tool update -g docfx
- name: Update PATH
run: |
echo %USERPROFILE%\.dotnet\tools >> "$GITHUB_PATH"
# NOTE: We need to restore Microsoft.ML.OnnxRuntime.csproj manually to set IncludeMobileTargets=false
# docfx doesn't seem to be able to do that properly resulting in build errors
- name: Restore dependencies
Expand Down

0 comments on commit bafd3e1

Please sign in to comment.