Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit f036a85

Browse files
authored
Update azure-pipelines.yml
1 parent 928863c commit f036a85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ variables:
1414
buildPlatform: 'Any CPU'
1515
buildConfiguration: 'Release'
1616
projectName: Syslog.Server.csproj
17+
folderName: Syslog.Server
1718

1819
steps:
1920
- task: DotNetCoreInstaller@0
2021
inputs:
2122
version: '2.2.105' # replace this value with the version that you need for your project
2223

23-
- script: dotnet restore $(projectName)
24+
- script: dotnet restore $(folderName)/$(projectName)
2425

2526
- task: DotNetCoreCLI@2
2627
displayName: Build
@@ -53,7 +54,7 @@ steps:
5354
- task: ArchiveFiles@2
5455
displayName: 'Archive Downloader'
5556
inputs:
56-
rootFolderOrFile: '$(build.artifactstagingdirectory)\Syslog.Server\bin\$(BuildConfiguration)\netcoreapp2.2\'
57+
rootFolderOrFile: '$(build.artifactstagingdirectory)\$(folderName)/\bin\$(BuildConfiguration)\netcoreapp2.2\'
5758
includeRootFolder: false
5859
archiveFile: '$(build.artifactstagingdirectory)\SyslogServer.zip'
5960

0 commit comments

Comments
 (0)