Update azure-pipelines.yml

7.0-servicing
Christopher Jolly 3 years ago committed by GitHub
parent 6bf5bba937
commit 595a68e5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -170,8 +170,16 @@ jobs:
foreach ($projectFile in $projectFiles)
{
echo "Pack command: dotnet " + (($arguments + $projectFile) -join ' ')
& dotnet ($arguments + $projectFile)
try
{
echo "Pack command: dotnet " + (($arguments + $projectFile) -join ' ')
& dotnet ($arguments + $projectFile)
}
catch
{
echo 'Failed to pack $(projectFile)'
exit 1
}
}
$pushToAzureArtifacts = $pack
@ -208,4 +216,4 @@ jobs:
nuGetFeedType: external
publishFeedCredentials: LauXjpn-NugetOrg-EFCoreJet-AllPackages-PushNew
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
condition: eq(variables['Pack.PushToNugetOrg'],'true')
condition: eq(variables['Pack.PushToNugetOrg'],'true')

Loading…
Cancel
Save