Skip to content

Commit a8e1470

Browse files
committed
update the execution policy
1 parent 5d35e66 commit a8e1470

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

azure.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ hooks:
77
preup:
88
windows:
99
shell: pwsh
10-
run: ./scripts/SetConnectionsEnvironmentVariables.ps1
10+
run: |
11+
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
12+
./scripts/SetConnectionsEnvironmentVariables.ps1
1113
interactive: true
1214
continueOnError: false
1315
preprovision:
@@ -18,6 +20,8 @@ hooks:
1820
continueOnError: false
1921
windows:
2022
shell: pwsh
21-
run: ./scripts/validate_model_deployment_quotas.ps1 -Subscription $env:AZURE_SUBSCRIPTION_ID -Location $env:AZURE_LOCATION -ModelsParameter "aiModelDeployments"
23+
run: |
24+
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
25+
./scripts/validate_model_deployment_quotas.ps1 -Subscription $env:AZURE_SUBSCRIPTION_ID -Location $env:AZURE_LOCATION -ModelsParameter "aiModelDeployments"
2226
interactive: false
2327
continueOnError: false

0 commit comments

Comments
 (0)