From 5c4f438124d084a7529d2ffe9e23764e2eff9d65 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 15 Oct 2024 15:56:52 +0000 Subject: [PATCH] [Actions] Updated .github/actions/dotnet-tool/action.yml --- .github/actions/dotnet-tool/action.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/actions/dotnet-tool/action.yml b/.github/actions/dotnet-tool/action.yml index 0a2e59d9..bea59913 100644 --- a/.github/actions/dotnet-tool/action.yml +++ b/.github/actions/dotnet-tool/action.yml @@ -17,11 +17,7 @@ runs: - name: "Install dotnet tool (Latest)" if: inputs.TOOL_VERSION == 'latest' shell: bash - run: | - dotnet tool install \ - --local \ - --no-http-cache \ - "${{inputs.TOOL_NAME}}" + run: dotnet tool install --local --no-http-cache "${{inputs.TOOL_NAME}}" env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" @@ -39,12 +35,7 @@ runs: - name: "Install dotnet tool (Specific Version)" if: inputs.TOOL_VERSION != 'latest' shell: bash - run: | - dotnet tool install \ - --local \ - --no-http-cache \ - "${{inputs.TOOL_NAME}}" \ - --version ${{inputs.TOOL_VERSION}} + run: dotnet tool install --local --no-http-cache "${{inputs.TOOL_NAME}}" --version ${{inputs.TOOL_VERSION}} env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"