Skip to content

Commit

Permalink
--no-http-cache isn't available prior to .net 9 it is called --no-ca…
Browse files Browse the repository at this point in the history
…che which doesn't exist .net 9
  • Loading branch information
credfeto committed Oct 15, 2024
1 parent d890968 commit 2856569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/dotnet-tool/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +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 ${{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 @@ -35,7 +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 ${{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 2856569

Please sign in to comment.