From 12ba2d1f19910f860e63eda4148907cb4e270be8 Mon Sep 17 00:00:00 2001 From: glopesdev Date: Mon, 4 Mar 2024 14:08:40 +0000 Subject: [PATCH] Update action dependencies --- .github/workflows/build.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 108c1d79..87b1e587 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,32 +10,35 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.1.1 name: Checkout with: submodules: recursive - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v2 - name: Restore NuGet Packages run: msbuild -t:restore src\bonsai\Bonsai.sln - - name: Setup DocFX - uses: crazy-max/ghaction-chocolatey@v1 + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4.0.0 with: - args: install docfx + dotnet-version: 7.x + + - name: Setup DocFX + run: dotnet tool restore - name: Build Documentation - run: docfx docfx.json + run: dotnet docfx docfx.json - name: Checkout gh-pages - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.1 with: ref: gh-pages path: gh-pages - name: Publish to github pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _site