### Summary * Bumps to .NET 9 with updated dependencies * Comparing a value type against null is no longer allowed * CI/CD now uses the version specified in global.json * Serialization generator updated to .NET 9 with bug fixes, fixes to turkish language, and parallelization
26 lines
538 B
YAML
26 lines
538 B
YAML
name: 'Build'
|
|
|
|
trigger:
|
|
- main
|
|
|
|
variables:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
|
|
jobs:
|
|
- job: BuildWindows
|
|
displayName: 'Windows Server 2022'
|
|
pool:
|
|
vmImage: 'windows-latest'
|
|
|
|
steps:
|
|
- task: UseDotNet@2
|
|
displayName: 'Install .NET 9'
|
|
inputs:
|
|
useGlobalJson: true
|
|
- task: NuGetAuthenticate@1
|
|
- script: ./publish.cmd Release
|
|
displayName: 'Build'
|
|
- powershell: ./.github/porcelain.ps1
|
|
displayName: Migration Changes
|
|
- script: dotnet test --no-restore
|
|
displayName: 'Test'
|