Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
hcoona committed Aug 9, 2022
1 parent 27103ae commit 276f3b7
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,21 @@
trigger:
- master
- main

pr:
- main

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- checkout: self
clean: true
lfs: true
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '$(solution)'
projects: 'dirs.proj'
arguments: '-c $(buildConfiguration)'
- task: PowerShell@2
inputs:
filePath: 'dev-support/bin/publish.ps1'
arguments: '-Configuration Release -SkipDos2Unix'
pwsh: true
- task: CopyFiles@2
inputs:
SourceFolder: 'output'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: UniversalPackages@0
inputs:
command: 'publish'
publishDirectory: '$(Build.ArtifactStagingDirectory)'
feedsToUsePublish: 'internal'
vstsFeedPublish: '6fdda69a-feef-492b-9027-6ca329dcade4/af8d15e0-742a-4658-a87e-06eb29c6e60e'
vstsFeedPackagePublish: 'one-dotnet'
versionOption: 'patch'

0 comments on commit 276f3b7

Please sign in to comment.