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: