Browse Source

Merge pull request #247 from VaclavElias/master

chore: GitHub Action dependencies bumped to v4
Vaclav Elias 1 year ago
parent
commit
b3404ecd60

+ 4 - 4
.github/workflows/stride-docs-github.yml

@@ -11,18 +11,18 @@ jobs:
 
     steps:
       - name: Dotnet Setup
-        uses: actions/setup-dotnet@v3
+        uses: actions/setup-dotnet@v4
         with:
           dotnet-version: 8.x
 
       - name: Checkout Stride Docs
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           path: stride-docs
           lfs: true
 
       - name: Checkout Stride (note the LFS)
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           repository: stride3d/stride
           token: ${{ secrets.GITHUB_TOKEN }}
@@ -30,7 +30,7 @@ jobs:
           lfs: true
 
       - name: Install DocFX
-        run: dotnet tool update -g docfx --version 2.74.0
+        run: dotnet tool update -g docfx --version 2.75.2
 
       - name: Build documentation
         run: ./build-all.bat

+ 6 - 6
.github/workflows/stride-docs-release-azure.yml

@@ -25,20 +25,20 @@ jobs:
     steps:
     # Setup .NET SDK
     - name: Dotnet Setup
-      uses: actions/setup-dotnet@v3
+      uses: actions/setup-dotnet@v4
       with:
         dotnet-version: 8.x
 
     # Checkout the Stride Docs repository from the branch that triggered the workflow
     - name: Checkout Stride Docs
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         path: stride-docs
         lfs: true
 
     # Checkout the Stride repository from the default branch
     - name: Checkout Stride (note the LFS)
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: stride3d/stride
         token: ${{ secrets.GITHUB_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
       # 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.74.0
+      run: dotnet tool update -g docfx --version 2.75.2
 
     - name: Build documentation
       run: ./build-all.bat
@@ -59,7 +59,7 @@ jobs:
       run: 7z a -r DocFX-app.zip ./stride-docs/_site/*
 
     - name: Upload artifact for deployment job
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
         name: DocFX-app
         path: DocFX-app.zip
@@ -74,7 +74,7 @@ jobs:
 
     steps:
       - name: Download artifact from build job
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           name: DocFX-app
 

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

@@ -18,20 +18,20 @@ jobs:
     steps:
     # Setup .NET SDK
     - name: Dotnet Setup
-      uses: actions/setup-dotnet@v3
+      uses: actions/setup-dotnet@v4
       with:
         dotnet-version: 8.x
 
     # Checkout the Stride Docs repository from the branch that triggered the workflow
     - name: Checkout Stride Docs
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         path: stride-docs
         lfs: true
 
     # Checkout the Stride repository from the default branch
     - name: Checkout Stride (note the LFS)
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: stride3d/stride
         token: ${{ secrets.GITHUB_TOKEN }}
@@ -42,7 +42,7 @@ jobs:
       # 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.74.0
+      run: dotnet tool update -g docfx --version 2.75.2
 
     - name: Build documentation
       run: ./build-all.bat

+ 6 - 6
.github/workflows/stride-docs-staging-azure.yml

@@ -25,20 +25,20 @@ jobs:
     steps:
     # Setup .NET SDK
     - name: Dotnet Setup
-      uses: actions/setup-dotnet@v3
+      uses: actions/setup-dotnet@v4
       with:
         dotnet-version: 8.x
 
     # Checkout the Stride Docs repository from the branch that triggered the workflow
     - name: Checkout Stride Docs
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         path: stride-docs
         lfs: true
 
     # Checkout the Stride repository from the default branch
     - name: Checkout Stride (note the LFS)
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: stride3d/stride
         token: ${{ secrets.GITHUB_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
       # 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.74.0
+      run: dotnet tool update -g docfx --version 2.75.2
 
     - name: Build documentation
       run: ./build-all.bat
@@ -59,7 +59,7 @@ jobs:
       run: 7z a -r DocFX-app.zip ./stride-docs/_site/*
 
     - name: Upload artifact for deployment job
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
         name: DocFX-app
         path: DocFX-app.zip
@@ -74,7 +74,7 @@ jobs:
 
     steps:
       - name: Download artifact from build job
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           name: DocFX-app
 

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

@@ -18,20 +18,20 @@ jobs:
     steps:
     # Setup .NET SDK
     - name: Dotnet Setup
-      uses: actions/setup-dotnet@v3
+      uses: actions/setup-dotnet@v4
       with:
         dotnet-version: 8.x
 
     # Checkout the Stride Docs repository from the branch that triggered the workflow
     - name: Checkout Stride Docs
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         path: stride-docs
         lfs: true
 
     # Checkout the Stride repository from the default branch
     - name: Checkout Stride (note the LFS)
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: stride3d/stride
         token: ${{ secrets.GITHUB_TOKEN }}
@@ -42,7 +42,7 @@ jobs:
       # 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.74.0
+      run: dotnet tool update -g docfx --version 2.75.2
 
     - name: Build documentation
       run: ./build-all.bat

+ 1 - 1
.github/workflows/stride-docs-wiki.yml

@@ -14,7 +14,7 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-     - uses: actions/checkout@v3
+     - uses: actions/checkout@v4
      - name: Upload Wiki pages
        uses: docker://decathlon/wiki-page-creator-action:2.0.1
        env: