From 25c1891e07d6982ed2722947bf84aaa4bb0b7c3f Mon Sep 17 00:00:00 2001 From: Gabriele Picco Date: Mon, 16 Dec 2024 18:47:21 +0100 Subject: [PATCH] chore: Add --global --- .github/workflows/dotnet.yml | 4 ++-- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index dea82d6..5e17e0b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 21c0480..96bacc4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file