Description:
Linux distributions with targz extension links are not being picked up and instead tar.gz link is accessed which gives 404.
Task version:
v6
Platform:
Runner type:
Repro steps:
Setup of exact version "11.0.0-preview.6.26359.118" using the action
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: '11.0.0-preview.6.26359.118'
Expected behavior:
It should be able to download the exact version and setup.
Actual behavior:
It fails to download the verison and thus setup fails. Following is output from one the example runs
Run actions/setup-dotnet@v6
with:
dotnet-version: 11.0.0-preview.6.x
cache: false
/home/runner/work/_actions/actions/setup-dotnet/v6/externals/install-dotnet.sh --skip-non-versioned-files --runtime dotnet --channel LTS
dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.11/dotnet-runtime-10.0.11-linux-x64.tar.gz
dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.11/dotnet-runtime-10.0.11-linux-x64.tar.gz size is 36639275 bytes.
dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.11/dotnet-runtime-10.0.11-linux-x64.tar.gz
dotnet-install: Downloaded file size is 36639275 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 10.0.11
dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
/home/runner/work/_actions/actions/setup-dotnet/v6/externals/install-dotnet.sh --skip-non-versioned-files --version 11.0.0-preview.6.x
dotnet-install: Attempting to download using primary link https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.0-preview.6.x/dotnet-sdk-11.0.0-preview.6.x-linux-x64.tar.gz
dotnet-install: The resource at primary link 'https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.0-preview.6.x/dotnet-sdk-11.0.0-preview.6.x-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://ci.dot.net/public/Sdk/11.0.0-preview.6.x/dotnet-sdk-11.0.0-preview.6.x-linux-x64.tar.gz
dotnet-install: The resource at primary link 'https://ci.dot.net/public/Sdk/11.0.0-preview.6.x/dotnet-sdk-11.0.0-preview.6.x-linux-x64.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core SDK` with version = 11.0.0-preview.6.x
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Error: Failed to install dotnet, exit code: 1. dotnet_install: Error: Could not find `.NET Core SDK` with version = 11.0.0-preview.6.x
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Description:
Linux distributions with targz extension links are not being picked up and instead tar.gz link is accessed which gives 404.
Task version:
v6
Platform:
Runner type:
Repro steps:
Setup of exact version "11.0.0-preview.6.26359.118" using the action
Expected behavior:
It should be able to download the exact version and setup.
Actual behavior:
It fails to download the verison and thus setup fails. Following is output from one the example runs