Skip to content

Commit

Permalink
add musl as known alias of alpine (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Dec 19, 2024
1 parent 036aa1d commit a2917d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner.Worker/Handlers/StepHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public string ResolvePathForStepHost(IExecutionContext executionContext, string

public Task<string> DetermineNodeRuntimeVersion(IExecutionContext executionContext, string preferredVersion)
{
if(System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier.Contains("alpine")) {
if(System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier.Contains("musl") || System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier.Contains("alpine")) {
return Task.FromResult<string>(preferredVersion + "_alpine");
}
return Task.FromResult<string>(preferredVersion);
Expand Down

0 comments on commit a2917d6

Please sign in to comment.