Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/dotnet_tool_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}