This commit is contained in:
Wiesław Šoltés 2022-10-11 14:01:09 +02:00
Родитель a53910dc2f
Коммит 9f0ce88c73
6 изменённых файлов: 60 добавлений и 0 удалений

Просмотреть файл

@ -5,6 +5,8 @@ parameters:
default: ''
- name: BuildConfiguration
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -12,11 +14,19 @@ jobs:
vmImage: ${{ parameters.vmImage }}
variables:
BuildConfiguration: ${{ parameters.BuildConfiguration }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: PowerShell@2
displayName: Nuke Target Pack
inputs:

Просмотреть файл

@ -5,6 +5,8 @@ parameters:
default: ''
- name: BuildConfiguration
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -12,11 +14,19 @@ jobs:
vmImage: ${{ parameters.vmImage }}
variables:
BuildConfiguration: ${{ parameters.BuildConfiguration }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: PowerShell@2
displayName: Nuke Target Pack
inputs:

Просмотреть файл

@ -11,6 +11,8 @@ parameters:
default: ''
- name: PublishRuntime
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -21,11 +23,19 @@ jobs:
PublishFramework: ${{ parameters.PublishFramework }}
PublishProject: ${{ parameters.PublishProject }}
PublishRuntime: ${{ parameters.PublishRuntime }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: Bash@3
displayName: Nuke Target Publish
inputs:

Просмотреть файл

@ -11,6 +11,8 @@ parameters:
default: ''
- name: PublishRuntime
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -21,11 +23,19 @@ jobs:
PublishFramework: ${{ parameters.PublishFramework }}
PublishProject: ${{ parameters.PublishProject }}
PublishRuntime: ${{ parameters.PublishRuntime }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: PowerShell@2
displayName: Nuke Target Publish
inputs:

Просмотреть файл

@ -5,6 +5,8 @@ parameters:
default: ''
- name: BuildConfiguration
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -12,11 +14,19 @@ jobs:
vmImage: ${{ parameters.vmImage }}
variables:
BuildConfiguration: ${{ parameters.BuildConfiguration }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: Bash@3
displayName: Nuke Target Test
inputs:

Просмотреть файл

@ -5,6 +5,8 @@ parameters:
default: ''
- name: BuildConfiguration
default: ''
- name: Workloads
default: ''
jobs:
- job: ${{ parameters.name }}
@ -12,11 +14,19 @@ jobs:
vmImage: ${{ parameters.vmImage }}
variables:
BuildConfiguration: ${{ parameters.BuildConfiguration }}
Workloads: ${{ parameters.Workloads }}
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
condition: ne(variables.Workloads, '')
displayName: Install workloads
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install $(Workloads)'
- task: PowerShell@2
displayName: Nuke Target Test
inputs: