Skip to content

Commit b9a9ba9

Browse files
SwoorupTheAngryByrd
authored andcommitted
Remove side-by-side github workflow hack
1 parent b3e13ca commit b9a9ba9

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
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
@@ -23,20 +22,8 @@ jobs:
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: |

0 commit comments

Comments
 (0)