浏览代码

feat: docfx version locked to avoid breaking changes

Vaclav Elias 2 年之前
父节点
当前提交
6ae8867d89

+ 4 - 2
.github/workflows/stride-docs-staging-azure.yml

@@ -41,8 +41,10 @@ jobs:
         lfs: true
         lfs: true
 
 
     - name: Install DocFX
     - name: Install DocFX
-      run: dotnet tool update -g docfx
-#      - run: dotnet tool install -g docfx --version 2.65.1
+      # This installs the latest version of DocFX and may introduce breaking changes.
+      # run: dotnet tool update -g docfx
+      # This installs a specific, tested version of DocFX.
+      run: dotnet tool update -g docfx --version 2.70.1
 
 
     - name: Build documentation
     - name: Build documentation
       run: ./build-all.bat
       run: ./build-all.bat

+ 4 - 2
.github/workflows/stride-docs-staging-fast-track-azure.yml

@@ -43,8 +43,10 @@ jobs:
         lfs: true
         lfs: true
 
 
     - name: Install DocFX
     - name: Install DocFX
-      run: dotnet tool update -g docfx
-#      - run: dotnet tool install -g docfx --version 2.65.1
+      # This installs the latest version of DocFX and may introduce breaking changes.
+      # run: dotnet tool update -g docfx
+      # This installs a specific, tested version of DocFX.
+      run: dotnet tool update -g docfx --version 2.70.1
 
 
     - name: Build documentation
     - name: Build documentation
       run: ./build-all.bat
       run: ./build-all.bat