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 10
10
runs-on : ${{ matrix.os }}
11
11
12
12
steps :
13
- # Side by side workaround: https://github.com/actions/setup-dotnet/issues/25#issuecomment-646925506
14
13
- uses : actions/checkout@v2
15
14
- name : Use .NET Core 2.1 SDK
16
15
uses : actions/setup-dotnet@v1
23
22
- name : Use .NET Core 5.0 SDK
24
23
uses : actions/setup-dotnet@v1
25
24
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
+
40
27
- name : Build
41
28
if : runner.os != 'Windows'
42
29
run : |
You can’t perform that action at this time.
0 commit comments