Update action.yml
This commit is contained in:
Родитель
eeda99a3cb
Коммит
3b689ba3c0
|
@ -2,7 +2,10 @@ name: "Shared Steps"
|
|||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
|
||||
variables:
|
||||
AZURE_ENVIRONMENT: AzureCloud
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
@ -60,4 +63,4 @@ runs:
|
|||
run: |
|
||||
$Env:PSModulePath = $Env:PSModulePath, '${{ env.modulesFolder }}' -join [IO.Path]::PathSeparator
|
||||
$credential = New-Object PSCredential -ArgumentList ${{env.ARM_CLIENT_ID}}, (ConvertTo-SecureString -String ${{env.ARM_CLIENT_SECRET}} -AsPlainText -Force)
|
||||
Connect-AzAccount -TenantId ${{env.ARM_TENANT_ID}} -ServicePrincipal -Credential $credential -SubscriptionId ${{env.ARM_SUBSCRIPTION_ID}}
|
||||
Connect-AzAccount -TenantId ${{env.ARM_TENANT_ID}} -ServicePrincipal -Credential $credential -SubscriptionId ${{env.ARM_SUBSCRIPTION_ID}} -Environment ${{env.AZURE_ENVIRONMENT}}
|
||||
|
|
Загрузка…
Ссылка в новой задаче