From cf41a0980215021a440285b09b08ce4e0a536192 Mon Sep 17 00:00:00 2001 From: Michael Fyffe <6224270+TraGicCode@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:57:03 -0600 Subject: [PATCH] Fix build of dotnet tool --- .github/workflows/dotnet_tool_deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet_tool_deploy.yml b/.github/workflows/dotnet_tool_deploy.yml index bb1f3be..f9efc94 100644 --- a/.github/workflows/dotnet_tool_deploy.yml +++ b/.github/workflows/dotnet_tool_deploy.yml @@ -34,7 +34,9 @@ jobs: echo "Syncing version: $VERSION" - name: Build and Pack as .NET tool - run: dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }} + run: | + dotnet tool restore + dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }} - name: Publish to NuGet run: dotnet nuget push ./artifacts/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}