Browse Source

feat: docfx version locked to avoid breaking changes

Vaclav Elias 2 years ago
parent
commit
6ae8867d89

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

@@ -41,8 +41,10 @@ jobs:
         lfs: true
 
     - 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
       run: ./build-all.bat

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

@@ -43,8 +43,10 @@ jobs:
         lfs: true
 
     - 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
       run: ./build-all.bat