Skip to content

Commit

Permalink
Improve stability of pipeline (Azure#18814)
Browse files Browse the repository at this point in the history
* Improve pipeline stable

* Improve pipeline stable
  • Loading branch information
wyunchi-ms authored Jun 29, 2022
1 parent c1194a5 commit cdf75f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/util/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ steps:
targetType: inline
script: "$SdkVersion=(dotnet --list-sdks | Select-String '6.0.\\d{3}').Matches[0].Value; dotnet new globaljson --sdk-version $SdkVersion --force;dotnet msbuild tools/Az.Tools.Predictor/build.proj /t:\"clean;build;test\""
pwsh: true
continueOnError: true

- template: publish-artifacts-steps.yml
parameters:
Expand Down
5 changes: 5 additions & 0 deletions tools/PrepareAutorestModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ Copy-Item -Path "$TmpFolder\tools\Common*.targets" -Destination "$PSScriptRoot\.
Install-Module Az.Accounts -Repository PSGallery -Force
Import-Module Az.Accounts
Copy-Item "$PSScriptRoot\..\src\*.props" $TmpFolder

If ($ModuleSet.Contains("Compute"))
{
Copy-Item -Path "$TmpFolder\src\Resources\Resources.Test" -Destination "$PSScriptRoot\..\src\Resources\Resources.Test" -Force -Recurse
}
#EndRegion

#Region generate the code and make the struture same with main branch.
Expand Down

0 comments on commit cdf75f2

Please sign in to comment.