From aec51d40d7d1f6f961e33bb7288ea8dbc1898a41 Mon Sep 17 00:00:00 2001 From: David Driscoll Date: Fri, 2 Oct 2020 21:55:28 -0400 Subject: [PATCH] Updated build, added public package store on azure devops. (#97) --- .build/Solution.cs | 13 ------------- .github/workflows/ci.yml | 12 ------------ .../Rocket.Surgery.LaunchPad.Extensions.csproj | 17 +++-------------- 3 files changed, 3 insertions(+), 39 deletions(-) diff --git a/.build/Solution.cs b/.build/Solution.cs index b62671186..d93506d79 100644 --- a/.build/Solution.cs +++ b/.build/Solution.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: | diff --git a/src/Extensions/Rocket.Surgery.LaunchPad.Extensions.csproj b/src/Extensions/Rocket.Surgery.LaunchPad.Extensions.csproj index 20d1ab38e..7f6b1abba 100644 --- a/src/Extensions/Rocket.Surgery.LaunchPad.Extensions.csproj +++ b/src/Extensions/Rocket.Surgery.LaunchPad.Extensions.csproj @@ -7,7 +7,6 @@ - @@ -18,19 +17,9 @@ - - - - - - + + +