From a21d4891db7f9e24a9ed6ab78e28157800e04fd0 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Mon, 5 Dec 2022 12:40:35 -0600 Subject: [PATCH 1/2] Added .NET 7.0 support for nightly build pipelines --- build-system/nightly-builds.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-system/nightly-builds.yaml b/build-system/nightly-builds.yaml index 0e5dffb49a0..eb869bfd89c 100644 --- a/build-system/nightly-builds.yaml +++ b/build-system/nightly-builds.yaml @@ -19,6 +19,10 @@ variables: - group: nugetKeys #create this group with SECRET variables `nugetKey` steps: +- task: UseDotNet@2 + displayName: 'Use .NET 7 SDK 7.0.100' + inputs: + version: 7.0.100 - task: UseDotNet@2 displayName: 'Use .NET 5 SDK 6.0.100' inputs: @@ -32,4 +36,4 @@ steps: displayName: 'FAKE Build' inputs: filename: build.cmd - arguments: 'Nuget nugetprerelease=dev nugetpublishurl=$(nightlyUrl) nugetkey=$(nightlyKey)' \ No newline at end of file + arguments: 'Nuget nugetprerelease=dev nugetpublishurl=$(nightlyUrl) nugetkey=$(nightlyKey)' From af58355aa89cacb37f006b81c612590ddbee8c28 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Mon, 5 Dec 2022 12:42:03 -0600 Subject: [PATCH 2/2] added .NET 7 to release pipeline also --- build-system/windows-release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-system/windows-release.yaml b/build-system/windows-release.yaml index 70808a75291..535ab8ed92d 100644 --- a/build-system/windows-release.yaml +++ b/build-system/windows-release.yaml @@ -22,6 +22,10 @@ variables: - name: githubRepositoryName value: akkadotnet/akka.net steps: +- task: UseDotNet@2 + displayName: 'Use .NET 7 SDK 7.0.100' + inputs: + version: 7.0.100 - task: UseDotNet@2 displayName: 'Use .NET 6 SDK 6.0.100' inputs: