-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
41 lines (36 loc) · 897 Bytes
/
azure-pipelines.yml
File metadata and controls
41 lines (36 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 1.7.0.$(rev:rrr)
trigger:
- master
schedules:
- cron: 0 5 * * 6
branches:
include:
- master
always: true
pool:
vmImage: windows-latest
variables:
buildConfiguration: 'Release'
steps:
- task: UseDotNet@2
inputs:
version: 8.0.x
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '$(Build.SourcesDirectory)\PELoaderLib.sln'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '$(Build.SourcesDirectory)\PELoaderLib.sln'
arguments: '--configuration $(buildConfiguration)'
versioningScheme: byBuildNumber
- task: CopyFiles@2
inputs:
SourceFolder: $(Build.SourcesDirectory)\PELoaderLib\bin\$(buildConfiguration)
TargetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'