Update build.yml (#748)

pull/719/head
Next Turn 2020-12-25 00:16:21 +08:00 committed by GitHub
parent 8cc17b5aa6
commit 4f7e623602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 58 additions and 64 deletions

View File

@ -17,8 +17,6 @@ variables:
- name: InformationalVersion # do not rename (MSBuild property) - name: InformationalVersion # do not rename (MSBuild property)
value: $(Major).$(Minor).$(Patch)+$(Build.SourceVersion) value: $(Major).$(Minor).$(Patch)+$(Build.SourceVersion)
jobs:
- job: Build
pool: pool:
vmImage: windows-latest vmImage: windows-latest
strategy: strategy:
@ -40,10 +38,6 @@ jobs:
displayName: Build displayName: Build
- script: dotnet test -c $(BuildConfiguration) --collect "XPlat Code Coverage" --no-build src\WinSW.Tests\WinSW.Tests.csproj - script: dotnet test -c $(BuildConfiguration) --collect "XPlat Code Coverage" --no-build src\WinSW.Tests\WinSW.Tests.csproj
displayName: Test displayName: Test
- task: NuGetToolInstaller@1
displayName: Install Nuget
inputs:
checkLatest: true
- task: NuGetCommand@2 - task: NuGetCommand@2
displayName: Pack displayName: Pack
inputs: inputs: