diff --git a/.build/Build.CI.cs b/.build/Build.CI.cs index b62671186..d93506d79 100644 --- a/.build/Build.CI.cs +++ b/.build/Build.CI.cs @@ -66,19 +66,6 @@ public static RocketSurgeonGitHubActionsConfiguration Middleware(RocketSurgeonGi new SetupDotNetStep("Use .NET Core 3.1 SDK") { DotNetVersion = "3.1.x" }, - new RunStep("🪓 **DOTNET HACK** 🪓") { - Shell = GithubActionShell.Pwsh, - Run = @"$version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf; - $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent; - $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version }; - foreach ($dir in $directories) { - $from = $dir.FullName; - $to = ""$root/$version""; - Write-Host Copying from $from to $to; - Copy-Item ""$from\*"" $to -Recurse -Force; - } - " - }, }); buildJob.Steps.Add(new UsingStep("Publish Coverage") diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db31e5ed7..c97b6961a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,18 +52,6 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: '3.1.x' - - name: 🪓 **DOTNET HACK** 🪓 - shell: pwsh - run: | - $version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf; - $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent; - $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version }; - foreach ($dir in $directories) { - $from = $dir.FullName; - $to = "$root/$version"; - Write-Host Copying from $from to $to; - Copy-Item "$from\*" $to -Recurse -Force; - } - name: 🎁 dotnet tool restore run: |