diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bf3f317539..8b6d967cac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,16 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: DocFX - uses: nikeee/docfx-action@v0.1.0 + - name: Setup .NET Core 8.x + uses: actions/setup-dotnet@v3 with: - args: docs/docfx.json + dotnet-version: "8.x" + + - name: Install DocFX + run: dotnet tool restore + + - name: Build DocFX + run: dotnet docfx docs/docfx.json - name: Deploy Live if: github.ref == 'refs/heads/docs'