Skip to content

Commit 0731a19

Browse files
Use nightly version of docfx
The latest version of docfx does not support `allows ref struct`. dotnet/docfx#10655 The nighly version does use the latest version of roslyn with the fix. dotnet/roslyn#78430
1 parent 8db6127 commit 0731a19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
uses: actions/setup-dotnet@v4
2929
with:
3030
dotnet-version: "9.x.x"
31+
source-url: https://nuget.pkg.github.com/dotnet/index.json
32+
env:
33+
NUGET_AUTH_TOKEN: ${{ secrets.GPR_READ_TOKEN }}
3134

3235
- name: Setup Android SDK
3336
uses: android-actions/setup-android@v3
@@ -38,7 +41,7 @@ jobs:
3841
3942
- name: Install docfx
4043
run: |
41-
dotnet tool update -g docfx
44+
dotnet tool update -g docfx --version 2.78.4-preview.122
4245
echo "~/.dotnet/tools" >> $GITHUB_PATH
4346
4447
- name: Build docs

0 commit comments

Comments
 (0)