Skip to content

Commit

Permalink
Project: Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
imbushuo committed Jul 30, 2022
1 parent 5492340 commit 7f90449
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,14 @@ variables:
buildConfiguration: 'Release'

steps:
- task: NuGetToolInstaller@1

- task: DotNetCoreCLI@2
displayName: "NuGet Restore"
inputs:
command: 'restore'
projects: 'EnergyStar/EnergyStar.csproj'
feedsToUse: 'select'

- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: 'EnergyStar/EnergyStar.csproj'
arguments: '-c ReleaseInvisible'

- task: DotNetCoreCLI@2
displayName: "Release Prod Windows x64"
inputs:
Expand All @@ -49,7 +43,8 @@ steps:
filePath: './Package/buildout.ps1'

- task: PublishBuildArtifacts@1
displayName: "Upload Artifacts"
inputs:
PathtoPublish: 'Package\*.cab'
PathtoPublish: 'Package'
ArtifactName: 'PreSignRelease'
publishLocation: 'Container'

0 comments on commit 7f90449

Please sign in to comment.