Skip to content

Commit

Permalink
Add DisplayName for tasks in AzurePipelines generation
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Feb 9, 2023
1 parent 475a304 commit a569293
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 35 deletions.
48 changes: 30 additions & 18 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,49 +33,53 @@ stages:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(HOME)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, Test'
inputs:
script: './build.cmd Restore Compile Test --skip --partition $(System.JobPositionInPhase)/2'
- task: PublishBuildArtifacts@1
displayName: 'Publish: test-results'
inputs:
artifactName: test-results
pathtoPublish: 'output/test-results'
pathToPublish: 'output/test-results'
- job: Pack
displayName: '📦 Pack'
dependsOn: [ ]
steps:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(HOME)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, DownloadLicenses, Pack'
inputs:
script: './build.cmd Restore Compile DownloadLicenses Pack --skip'
- task: PublishBuildArtifacts@1
displayName: 'Publish: packages'
inputs:
artifactName: packages
pathtoPublish: 'output/packages'
pathToPublish: 'output/packages'
- stage: windows_latest
displayName: 'windows-latest'
dependsOn: [ ]
Expand All @@ -91,49 +95,53 @@ stages:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(USERPROFILE)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, Test'
inputs:
script: './build.cmd Restore Compile Test --skip --partition $(System.JobPositionInPhase)/2'
- task: PublishBuildArtifacts@1
displayName: 'Publish: test-results'
inputs:
artifactName: test-results
pathtoPublish: 'output/test-results'
pathToPublish: 'output/test-results'
- job: Pack
displayName: '📦 Pack'
dependsOn: [ ]
steps:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(USERPROFILE)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, DownloadLicenses, Pack'
inputs:
script: './build.cmd Restore Compile DownloadLicenses Pack --skip'
- task: PublishBuildArtifacts@1
displayName: 'Publish: packages'
inputs:
artifactName: packages
pathtoPublish: 'output/packages'
pathToPublish: 'output/packages'
- stage: macOS_latest
displayName: 'macOS-latest'
dependsOn: [ ]
Expand All @@ -149,46 +157,50 @@ stages:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(HOME)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, Test'
inputs:
script: './build.cmd Restore Compile Test --skip --partition $(System.JobPositionInPhase)/2'
- task: PublishBuildArtifacts@1
displayName: 'Publish: test-results'
inputs:
artifactName: test-results
pathtoPublish: 'output/test-results'
pathToPublish: 'output/test-results'
- job: Pack
displayName: '📦 Pack'
dependsOn: [ ]
steps:
- checkout: self
submodules: true
- task: Cache@2
displayName: Cache (nuke-temp)
displayName: 'Cache: nuke-temp'
inputs:
key: $(Agent.OS) | nuke-temp | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuke-temp
path: .nuke/temp
- task: Cache@2
displayName: Cache (nuget-packages)
displayName: 'Cache: nuget-packages'
inputs:
key: $(Agent.OS) | nuget-packages | global.json, source/**/*.csproj
restoreKeys: $(Agent.OS) | nuget-packages
path: $(HOME)/.nuget/packages
- task: CmdLine@2
displayName: 'Run: Restore, Compile, DownloadLicenses, Pack'
inputs:
script: './build.cmd Restore Compile DownloadLicenses Pack --skip'
- task: PublishBuildArtifacts@1
displayName: 'Publish: packages'
inputs:
artifactName: packages
pathtoPublish: 'output/packages'
pathToPublish: 'output/packages'
Loading

0 comments on commit a569293

Please sign in to comment.