mirror of https://github.com/winsw/winsw
#549 - Apply the .NET Core Restore workaround
See https://developercommunity.visualstudio.com/solutions/1076778/view.htmlpull/553/head
parent
1b8cbccd8a
commit
58d45e32eb
|
@ -28,6 +28,12 @@ jobs:
|
||||||
Release:
|
Release:
|
||||||
BuildConfiguration: Release
|
BuildConfiguration: Release
|
||||||
steps:
|
steps:
|
||||||
|
- task: DotNetCoreCLI@2
|
||||||
|
inputs:
|
||||||
|
command: 'restore'
|
||||||
|
projects: '**/*.csproj'
|
||||||
|
includeNuGetOrg: true
|
||||||
|
displayName: 'Restoring code using dotnet restore'
|
||||||
- script: |
|
- script: |
|
||||||
dotnet build -c $(BuildConfiguration) src\winsw.sln -p:Version=$(BuildVersion)
|
dotnet build -c $(BuildConfiguration) src\winsw.sln -p:Version=$(BuildVersion)
|
||||||
dotnet publish -c $(BuildConfiguration) -f netcoreapp3.1 src\Core\ServiceWrapper\winsw.csproj -p:Version=$(BuildVersion)
|
dotnet publish -c $(BuildConfiguration) -f netcoreapp3.1 src\Core\ServiceWrapper\winsw.csproj -p:Version=$(BuildVersion)
|
||||||
|
|
Loading…
Reference in New Issue