Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Updated build, added public package store on azure devops. #247

Merged
merged 2 commits into from Oct 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 0 additions & 13 deletions .build/Build.CI.cs
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
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
3 changes: 1 addition & 2 deletions .gitignore
Expand Up @@ -206,5 +206,4 @@ src/Cake.Scripts/tools/tools/
codealike.json

# Rider
.idea/
global.json
.idea/
2 changes: 1 addition & 1 deletion NuGet.config
Expand Up @@ -6,7 +6,7 @@
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<!-- <add key="RocketSurgeonsGuild" value="https://nuget.pkg.github.com/RocketSurgeonsGuild/index.json" protocolVersion="3" /> -->
<add key="Packages" value="https://rocketsurgeonsguild.pkgs.visualstudio.com/Libraries/_packaging/Packages/nuget/v3/index.json" />
</packageSources>
<!-- used to store credentials -->
<packageSourceCredentials />
Expand Down
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -30,7 +30,7 @@ resources:
- repository: rsg
type: github
name: RocketSurgeonsGuild/AzureDevopsTemplates
ref: refs/tags/v0.13.0
ref: refs/tags/v0.13.1
endpoint: github

variables:
Expand All @@ -51,8 +51,12 @@ variables:
jobs:
- template: jobs/publish-release.yml@rsg
parameters:
GitHubPackages: true
GitHubPackages: false
GitHubAuthVariableGroup: rsg-bot
AzureDevOpsPackages: true
AzureDevOpsFeed: 'Libraries/Packages'
AzureDevOpsPreviewPackages: true
AzureDevOpsPreviewFeed: 'Libraries/Preview'
PublishNuGetPackagesFromArtifact: 'NuGet - Windows'

- job: Build
Expand Down