diff --git a/.github/actions/dotnet-tool/action.yml b/.github/actions/dotnet-tool/action.yml index e0d0d7e2..bd8d771a 100644 --- a/.github/actions/dotnet-tool/action.yml +++ b/.github/actions/dotnet-tool/action.yml @@ -17,7 +17,7 @@ runs: - name: "Install dotnet tool (Latest)" if: inputs.TOOL_VERSION == 'latest' shell: bash - run: dotnet tool install --local ${{inputs.TOOL_NAME}} + run: dotnet tool install --local --ignore-failed-sources ${{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}}" @@ -34,7 +34,7 @@ runs: - name: "Install dotnet tool (Specific Version)" if: inputs.TOOL_VERSION != 'latest' shell: bash - run: dotnet tool install --local ${{inputs.TOOL_NAME}} --version ${{inputs.TOOL_VERSION}} + run: dotnet tool install --local --ignore-failed-sources ${{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}}"