Skip to content

Commit 96ec40a

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent eecb2c2 commit 96ec40a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ steps:
77
- script: |
88
export DOTNET_ROOT=/home/dominic/.dotnet
99
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
10-
displayName: 'set path'
11-
- script: |
1210
dotnet clean Apex.Serialization/Apex.Serialization.csproj -c $(BuildConfiguration)
1311
dotnet build Apex.Serialization/Apex.Serialization.csproj -c $(BuildConfiguration)
1412
dotnet clean DeserializeTest/DeserializeTest.csproj
@@ -23,6 +21,8 @@ steps:
2321
inputs:
2422
Contents: '**/*.cobertura.xml'
2523
- script: |
24+
export DOTNET_ROOT=/home/dominic/.dotnet
25+
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
2626
dotnet clean Tests/Apex.Serialization.Tests/Apex.Serialization.Tests.csproj -c Debug
2727
dotnet clean Tests/Apex.Serialization.Tests/Apex.Serialization.Tests.csproj -c Release
2828
dotnet test Tests/Apex.Serialization.Tests/Apex.Serialization.Tests.csproj -c Debug --logger "trx;LogFileName=results.trx" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Include="[Apex.*]*" /p:UseSourceLink=true
@@ -42,18 +42,3 @@ steps:
4242
mergeTestResults: true
4343
failTaskOnFailedTests: true
4444
testRunTitle: 'Unit tests'
45-
- task: DotNetCoreCLI@2
46-
displayName: 'dotnet pack'
47-
inputs:
48-
command: pack
49-
packagesToPack: 'Apex.Serialization/Apex.Serialization.csproj'
50-
nobuild: true
51-
versioningScheme: byPrereleaseNumber
52-
verbosityPack: Minimal
53-
54-
- task: DotNetCoreCLI@2
55-
displayName: 'dotnet push'
56-
inputs:
57-
command: push
58-
publishVstsFeed: 'Main'
59-

0 commit comments

Comments
 (0)