Skip to content

Commit

Permalink
chore: Add --global
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Dec 16, 2024
1 parent 118dd08 commit 25c1891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- name: Run cake
shell: bash
run: |
dotnet tool install Cake.Tool --version 1.1.0
dotnet tool install Cake.Tool --version 1.1.0 --global
dotnet tool restore
dotnet cake --target=Test --verbosity=verbose dotnet cake --target=Test --verbosity=verbose
~/.dotnet/tools/dotnet-cake --target=Test --verbosity=verbose dotnet cake --target=Test --verbosity=verbose dotnet cake --target=Test --verbosity=verbose
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet tool install Cake.Tool --version 1.1.0
dotnet tool install Cake.Tool --version 1.1.0 --global
dotnet tool restore
dotnet cake --target=Pack --verbosity=verbose
dotnet nuget push artifacts/packages/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit 25c1891

Please sign in to comment.