Skip to content

Commit 7682598

Browse files
fix(ci): build to explicit output dir so RID-injected linux-musl-x64 doesn't hide the XML
1 parent 0d6e4be commit 7682598

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ jobs:
6868
- name: Build library (for API XML docs)
6969
env:
7070
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
run: dotnet build JsonApiToolkit/JsonApiToolkit.csproj -c Release
71+
run: dotnet build JsonApiToolkit/JsonApiToolkit.csproj -c Release -o JsonApiToolkit/bin/docs
7272

7373
- name: Restore .NET tools
7474
env:
7575
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676
run: dotnet tool restore
7777

7878
- name: Generate API reference
79-
run: dotnet tool run mkdocs-dotnet-api -- --input JsonApiToolkit/bin/Release/net10.0 --output docs/api --strict
79+
run: dotnet tool run mkdocs-dotnet-api -- --input JsonApiToolkit/bin/docs --output docs/api --strict
8080

8181
- name: Install Python dependencies
8282
run: uv venv && uv pip install -r docs/requirements.txt

JsonApiToolkit/packages.lock.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -413,18 +413,6 @@
413413
"resolved": "4.7.0",
414414
"contentHash": "ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ=="
415415
}
416-
},
417-
"net10.0/linux-musl-x64": {
418-
"System.Security.Cryptography.Pkcs": {
419-
"type": "Transitive",
420-
"resolved": "10.0.0",
421-
"contentHash": "UPWqLSygJlFerRi9XNIuM0a1VC8gHUIufyP24xQ0sc+XimqUAEcjpOz9DhKpyDjH+5B/wO3RpC0KpkEeDj/ddg=="
422-
},
423-
"System.Security.Cryptography.ProtectedData": {
424-
"type": "Transitive",
425-
"resolved": "4.7.0",
426-
"contentHash": "ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ=="
427-
}
428416
}
429417
}
430418
}

0 commit comments

Comments
 (0)