Closed IhateTrains closed 1 year ago
hi @IhateTrains, thank you for the report, we will take a look at it :)
We are facing same issue with Self-hosted runner. Kindly note that it works with v2, and also was working with v3 few days back.
dotnet-install: Extracting the archive.
dotnet-install: Failed to extract package. Exception: Exception calling "ExtractToFile" with "3" argument(s): "The process cannot access the file 'C:\Program Files\dotnet\dotnet.exe' because it is being used by another process."
Exception calling "ExtractToFile" with "3" argument(s): "The process cannot access the file 'C:\Program
Files\dotnet\dotnet.exe' because it is being used by another process."
....
+ ... [System.IO.Compression.ZipFileExtensions]::ExtractToFile( ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : IOException
The fix is already on its way and will be included in closest release.
If you don't have time to wait you may temporarily adjust your workflow to install several versions of dotnet at once instead of calling action several times: https://github.com/actions/setup-dotnet#usage.
Thank you for reporting the issue and providing a very comprehensive and detailed description!
Description: setup-dotnet action fails with
ParentContainsErrorRecordException
: https://github.com/ParadoxGameConverters/ImperatorToCK3/actions/runs/4262267753/jobs/7417899979Task version: v3
Platform:
Runner type:
Repro steps:
Use setup-dotnet to set up up NET 6 and do something with it. In the next steps, use setup-dotnet again to set up .NET 7. Example: https://github.com/ParadoxGameConverters/ImperatorToCK3/actions/runs/4262267753/jobs/7417899979
Expected behavior: The action should set up .NET 7.
Actual behavior: I'm getting the following exception: