Skip to content

Commit 09d5dd0

Browse files
authored
Merge pull request #212 from TraGicCode/chore/fix-dotnet-tool-build
Fix build of dotnet tool
2 parents c99b205 + cf41a09 commit 09d5dd0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/dotnet_tool_deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
echo "Syncing version: $VERSION"
3535
3636
- name: Build and Pack as .NET tool
37-
run: dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }}
37+
run: |
38+
dotnet tool restore
39+
dotnet cake --target Pack-DotNetTool --package-version ${{ steps.version.outputs.version }}
3840
3941
- name: Publish to NuGet
4042
run: dotnet nuget push ./artifacts/nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)