@@ -32,13 +32,13 @@ jobs:
3232
3333 steps :
3434 - name : .NET SDK Setup
35- uses : actions/setup-dotnet@v4
35+ uses : actions/setup-dotnet@v5
3636 with :
3737 dotnet-version : 10.x
3838
3939 # Checkout the Stride Docs repository from the branch that triggered the workflow
4040 - name : Checkout Stride Docs
41- uses : actions/checkout@v5
41+ uses : actions/checkout@v6
4242 with :
4343 path : ${{ env.DOCS_PATH }}
4444 lfs : true
5252
5353 # Checkout the Stride repository from the default branch
5454 - name : Checkout Stride (note the LFS)
55- uses : actions/checkout@v5
55+ uses : actions/checkout@v6
5656 with :
5757 repository : stride3d/stride
5858 token : ${{ secrets.GITHUB_TOKEN }}
@@ -61,37 +61,39 @@ jobs:
6161 ref : master
6262
6363 # Temporary solution till the new docfx is available
64- - name : Checkout DocFX PR Branch
65- uses : actions/checkout@v5
66- with :
67- repository : filzrev/docfx
68- ref : feat-add-net10-support
69- path : docfx-build
70-
71- - name : Restore npm dependencies
72- run : npm install
73- working-directory : docfx-build/templates
74-
75- - name : Build site templates
76- run : npm run build
77- working-directory : docfx-build/templates
78-
79- - name : Build DocFX from PR
80- run : dotnet pack src/docfx -c Release /p:Version=2.9-stride -o drop/nuget
81- working-directory : docfx-build
82- shell : pwsh
83-
84- - name : Build Install DocFX
85- run : dotnet tool install -g docfx --version 2.9-stride --add-source drop/nuget
86- working-directory : docfx-build
87- shell : pwsh
88- # End of Temporary solution
89-
90- # - name: Install DocFX
64+ # - name: Checkout DocFX
65+ # uses: actions/checkout@v6
66+ # with:
67+ # repository: dotnet/docfx
68+ # # Tested commit
69+ # ref: 917cda864650279e0bbe50b852cb98601e5efa4d
70+ # path: docfx-build
71+ # fetch-depth: 0
72+
73+ # - name: Restore npm dependencies
74+ # run: npm install
75+ # working-directory: docfx-build/templates
76+
77+ # - name: Build site templates
78+ # run: npm run build
79+ # working-directory: docfx-build/templates
80+
81+ # - name: Build DocFX from PR
82+ # run: dotnet pack src/docfx -c Release /p:Version=2.9-stride -o drop/nuget
83+ # working-directory: docfx-build
84+ # shell: pwsh
85+
86+ # - name: Build Install DocFX
87+ # run: dotnet tool install -g docfx --version 2.9-stride --add-source drop/nuget
88+ # working-directory: docfx-build
89+ # shell: pwsh
90+ # End of Temporary solution
91+
92+ - name : Install DocFX
9193 # This installs the latest version of DocFX and may introduce breaking changes
9294 # run: dotnet tool update -g docfx
9395 # This installs a specific, tested version of DocFX.
94- # run: dotnet tool update -g docfx --version 2.78.3
96+ run : dotnet tool update -g docfx --version 2.78.5
9597
9698 - name : Build documentation
9799 run : ./build-all.bat
@@ -101,7 +103,7 @@ jobs:
101103 run : 7z a -r DocFX-app.zip ./${{ env.DOCS_PATH }}/_site/*
102104
103105 - name : Upload artifact for deployment job
104- uses : actions/upload-artifact@v5
106+ uses : actions/upload-artifact@v6
105107 with :
106108 name : DocFX-app
107109 path : DocFX-app.zip
@@ -124,7 +126,7 @@ jobs:
124126
125127 steps :
126128 - name : Download artifact from build job
127- uses : actions/download-artifact@v6
129+ uses : actions/download-artifact@v7
128130 with :
129131 name : DocFX-app
130132
0 commit comments