From 0e849e2ce53f0b3742e62071433e4caf5615b6ee Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 22 Oct 2024 17:20:47 +0000 Subject: [PATCH] [Actions] Updated .github/actions/dotnet-tool/action.yml --- .github/actions/dotnet-tool/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/dotnet-tool/action.yml b/.github/actions/dotnet-tool/action.yml index 5873496..8a94a4a 100644 --- a/.github/actions/dotnet-tool/action.yml +++ b/.github/actions/dotnet-tool/action.yml @@ -17,6 +17,7 @@ runs: - name: "Install dotnet tool (Latest)" if: inputs.TOOL_VERSION == 'latest' shell: bash + working-directory: ${{ github.workspace }} run: dotnet tool install --local ${{inputs.TOOL_NAME}} env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" @@ -35,6 +36,7 @@ runs: - name: "Install dotnet tool (Specific Version)" if: inputs.TOOL_VERSION != 'latest' shell: bash + working-directory: ${{ github.workspace }} run: dotnet tool install --local ${{inputs.TOOL_NAME}} --version ${{inputs.TOOL_VERSION}} env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" @@ -52,5 +54,6 @@ runs: - name: "Restore" shell: bash + working-directory: ${{ github.workspace }} run: dotnet tool restore