File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ${{ matrix.os }}
1111
1212 steps :
13- # Side by side workaround: https://github.com/actions/setup-dotnet/issues/25#issuecomment-646925506
1413 - uses : actions/checkout@v2
1514 - name : Use .NET Core 2.1 SDK
1615 uses : actions/setup-dotnet@v1
2322 - name : Use .NET Core 5.0 SDK
2423 uses : actions/setup-dotnet@v1
2524 with :
26- dotnet-version : ' 5.0.100-preview.7.20366.6'
27- - name : .NET Side-by-side
28- shell : pwsh
29- run : |
30- $version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf;
31- $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent;
32- $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version };
33- foreach ($dir in $directories) {
34- $from = $dir.FullName;
35- $to = "$root/$version";
36- Write-Host Copying from $from to $to;
37- Copy-Item "$from\*" $to -Recurse -Force;
38- }
39-
25+ dotnet-version : ' 5.0.x'
26+
4027 - name : Build
4128 if : runner.os != 'Windows'
4229 run : |
You can’t perform that action at this time.
0 commit comments