Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -13,8 +13,8 @@ variables:
|
||||
buildConfiguration: 'Release'
|
||||
targetRuntime: 'linux-x64'
|
||||
selfContained: false
|
||||
dotNetFramework: 'net7.0'
|
||||
dotNetVersion: '7.0.x'
|
||||
dotNetFramework: 'net8.0'
|
||||
dotNetVersion: '8.0.x'
|
||||
buildId: $(Build.BuildNumber)
|
||||
|
||||
steps:
|
||||
@@ -23,7 +23,7 @@ steps:
|
||||
inputs:
|
||||
version: $(dotNetVersion)
|
||||
- script: dotnet build --configuration $(buildConfiguration) "WebAPI/DiunaBI-WebAPI.csproj"
|
||||
displayName: 'Build .NET 6 Application'
|
||||
displayName: 'Build .NET 8 Application'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet publish $(buildConfiguration)'
|
||||
|
||||
Reference in New Issue
Block a user