File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 uses : actions/checkout@v2
1818 with :
1919 fetch-depth : 0
20- - name : Install .NET Core 2.1 SDK
21- uses : actions/setup-dotnet@v1
22- with :
23- dotnet-version : " 2.1.x"
24- - name : Install .NET Core 3.1 SDK
25- uses : actions/setup-dotnet@v1
26- with :
27- dotnet-version : " 3.1.x"
28- - name : Merge installed .NET SDKs
29- shell : pwsh
30- run : |
31- $version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf;
32- $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent;
33- $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version };
34- foreach ($dir in $directories) {
35- $from = $dir.FullName;
36- $to = "$root/$version";
37- Write-Host Copying from $from to $to;
38- Copy-Item "$from\*" $to -Recurse -Force;
39- }
4020 - name : Run tests
4121 run : dotnet test --verbosity normal
4222 pack :
You can’t perform that action at this time.
0 commit comments