From 1974404d2d8761b830939b93951a8bfc7b5c6b0d Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Mon, 5 Dec 2022 13:52:52 -0600 Subject: [PATCH] Added .NET 7.0 support for release pipelines (#6288) (#6289) * Added .NET 7.0 support for nightly build pipelines * added .NET 7 to release pipeline also --- build-system/nightly-builds.yaml | 6 +++++- build-system/windows-release.yaml | 4 ++++ 2 files changed, 9 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)' 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: