Skip to content

Commit

Permalink
[Actions] Updated .github/actions/dotnet-tool/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 15, 2024
1 parent 62dccde commit 5c4f438
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/actions/dotnet-tool/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand All @@ -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}}"
Expand Down

0 comments on commit 5c4f438

Please sign in to comment.