Skip to content

Commit

Permalink
Updated build, added public package store on azure devops. (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll authored Oct 3, 2020
1 parent 612d493 commit aec51d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 39 deletions.
13 changes: 0 additions & 13 deletions .build/Solution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
17 changes: 3 additions & 14 deletions src/Extensions/Rocket.Surgery.LaunchPad.Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<ItemGroup>
<PackageReference Include="FluentValidation" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" />
<!-- <PackageReference Include="Humanizer.Core" />-->
<PackageReference Include="MediatR" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Configuration" />
Expand All @@ -18,19 +17,9 @@
<PackageReference Include="NodaTime.Serialization.SystemTextJson" />
<PackageReference Include="Rocket.Surgery.Conventions" />
<PackageReference Include="Rocket.Surgery.DependencyInjection.Extensions" />
<!-- <PackageReference Include="Rocket.Surgery.Extensions" />-->
<!-- <PackageReference Include="Rocket.Surgery.Extensions.Configuration" />-->
<!-- <PackageReference Include="Rocket.Surgery.Extensions.Configuration.Json" />-->
<!-- <PackageReference Include="Rocket.Surgery.System" />-->
<PackageReference Include="Serilog" />
<!--
<PackageReference Include="Scrutor" />
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Interactive" />
<PackageReference Include="System.Interactive.Async" />
<PackageReference Include="System.Reactive" />
<PackageReference Include="System.Reactive.Observable.Aliases" />
-->
<PackageReference Include="System.Text.Json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Serilog\Rocket.Surgery.LaunchPad.Serilog.csproj" />
</ItemGroup>
</Project>

0 comments on commit aec51d4

Please sign in to comment.