mirror of https://github.com/winsw/winsw
commit
0bdd21b6c0
|
@ -28,12 +28,6 @@ jobs:
|
|||
Release:
|
||||
BuildConfiguration: Release
|
||||
steps:
|
||||
- task: DotNetCoreCLI@2
|
||||
inputs:
|
||||
command: 'restore'
|
||||
projects: '**/*.csproj'
|
||||
includeNuGetOrg: true
|
||||
displayName: 'Restoring code using dotnet restore'
|
||||
- script: |
|
||||
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)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
Loading…
Reference in New Issue