Skip to content

Commit

Permalink
Validate Cognitive Search Code Generation in CI (#33961)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft authored Mar 13, 2023
1 parent 95b07fd commit aa14214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eng/scripts/Invoke-Codegeneration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ try {
Push-Location $Directory
if ($AutorestOptions) {
Write-Host "Running 'autorest $AutorestOptions' in directory '$Directory'."
& "autorest $AutorestOptions"
Invoke-Expression "autorest $AutorestOptions"
} else {
Write-Host "Running 'autorest' in directory '$Directory'."
& autorest
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
& (Join-Path $PSScriptRoot ".." ".." ".." ".." eng scripts Invoke-Codegeneration.ps1) -Directory $PSScriptRoot -AutorestOptions '--tag=package-2021-04-30-Preview-searchindex'
& (Join-Path $PSScriptRoot ".." ".." ".." ".." eng scripts Invoke-Codegeneration.ps1) -Directory $PSScriptRoot -AutorestOptions '--tag=package-2021-04-30-Preview-searchservice'

0 comments on commit aa14214

Please sign in to comment.