diff --git a/.azure-pipelines/util/build-steps.yml b/.azure-pipelines/util/build-steps.yml index fc640bba7076..c65c2b696efe 100644 --- a/.azure-pipelines/util/build-steps.yml +++ b/.azure-pipelines/util/build-steps.yml @@ -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: diff --git a/tools/PrepareAutorestModule.ps1 b/tools/PrepareAutorestModule.ps1 index 1cbd57e8b02d..d9f266d5100b 100644 --- a/tools/PrepareAutorestModule.ps1 +++ b/tools/PrepareAutorestModule.ps1 @@ -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.