diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e38159b5c..9597ebf0a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ pr: - main - rel/* -variables: +variables: BuildConfiguration: Release DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true @@ -18,25 +18,29 @@ stages: vmImage: windows-latest steps: + - task: UseDotNet@2 + displayName: 'Use .NET Core SDK 8.x' + inputs: + version: 8.x + - task: UseDotNet@2 displayName: 'Use .NET Core SDK 6.x' inputs: version: 6.x - includePreviewVersions: true - task: UseDotNet@2 displayName: 'Use .NET Core Runtime 5.x' inputs: version: 5.x - packageType: runtime + packageType: runtime - task: UseDotNet@2 displayName: 'Use .NET Core Runtime 3.x' inputs: version: 3.x - packageType: runtime + packageType: runtime - - task: DotNetCoreCLI@2 + - task: DotNetCoreCLI@2 inputs: command: custom custom: tool @@ -72,7 +76,7 @@ stages: -Properties "version=$($version.NuGetPackageVersion);RepositoryType=git;RepositoryCommit=$($version.GitCommitId);RepositoryUrl=https://github.com/Humanizr/Humanizer" } displayName: Create packages - + - task: DotNetCoreCLI@2 inputs: command: test @@ -110,7 +114,7 @@ stages: - deployment: CodeSign displayName: Code Signing pool: - vmImage: windows-latest + vmImage: windows-latest environment: Code Sign variables: - group: SignClient Credentials @@ -136,7 +140,7 @@ stages: --description "Humanizer" ` --descriptionUrl "https://github.com/Humanizr/Humanizer" displayName: Sign packages - + - publish: $(Pipeline.Workspace)/BuildPackages displayName: Publish Signed Packages artifact: SignedPackages \ No newline at end of file diff --git a/src/global.json b/src/global.json new file mode 100644 index 000000000..b8219f86c --- /dev/null +++ b/src/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "8.0.101", + "allowPrerelease": true, + "rollForward": "latestFeature" + } +} \ No newline at end of file